ADD: web-types to accept vue-i18n directive
This commit is contained in:
@@ -105,5 +105,6 @@
|
|||||||
"semi": false,
|
"semi": false,
|
||||||
"singleQuote": true
|
"singleQuote": true
|
||||||
},
|
},
|
||||||
"type": "module"
|
"type": "module",
|
||||||
|
"web-types": "./web-types.json"
|
||||||
}
|
}
|
||||||
|
|||||||
28
web-types.json
Normal file
28
web-types.json
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||||
|
"framework": "vue",
|
||||||
|
"js-types-syntax": "typescript",
|
||||||
|
"description-markup": "markdown",
|
||||||
|
"framework-config": {
|
||||||
|
"enable-when": {
|
||||||
|
"file-extensions": [
|
||||||
|
"vue"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"contributions": {
|
||||||
|
"html": {
|
||||||
|
"vue-directives": [
|
||||||
|
{
|
||||||
|
"name": "t",
|
||||||
|
"description": "",
|
||||||
|
"doc-url": "",
|
||||||
|
"attribute-value": {
|
||||||
|
"type": "boolean",
|
||||||
|
"required": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user