diff --git a/package.json b/package.json index adf97a5..f058f4d 100644 --- a/package.json +++ b/package.json @@ -105,5 +105,6 @@ "semi": false, "singleQuote": true }, - "type": "module" + "type": "module", + "web-types": "./web-types.json" } diff --git a/web-types.json b/web-types.json new file mode 100644 index 0000000..02fc3c5 --- /dev/null +++ b/web-types.json @@ -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 + } + } + ] + } + } +} \ No newline at end of file