diff --git a/package.json b/package.json index 3d32fec..f07ffb2 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "Vue VSCode Snippets", "description": "Snippets that will supercharge your Vue workflow", "icon": "images/vue-logo.png", - "version": "2.1.5", + "version": "4.0.0-beta.0", "publisher": "sdras", "engines": { "vscode": "^1.14.0" @@ -14,7 +14,7 @@ }, "scripts": { "build": "vsce package -o vue-vscode-snippets-$npm_package_version.vsix", - "install": "yarn build && code --install-extension vue-vscode-snippets-$npm_package_version.vsix" + "o-install": "yarn build && code --install-extension vue-vscode-snippets-$npm_package_version.vsix" }, "keywords": [ "Vue", @@ -30,9 +30,10 @@ "Snippets" ], "contributes": { - "snippets": [{ + "snippets": [ + { "language": "vue", - "path": "./snippets/vue.json" + "path": "./snippets/vca.json" }, { "language": "jade", @@ -84,4 +85,4 @@ } ] } -} \ No newline at end of file +} diff --git a/snippets/vca.json b/snippets/vca.json new file mode 100644 index 0000000..5f8b3f5 --- /dev/null +++ b/snippets/vca.json @@ -0,0 +1,26 @@ +{ + "Vue Single File Component": { + "prefix": "sfc", + "body": [ + "", + "", + "", + "", + "" + ], + "description": "Vue SFC File" + } +}