sdras / vue-vscode-snippets

These snippets were built to supercharge my workflow in the most seamless manner possible.
https://marketplace.visualstudio.com/items?itemName=sdras.vue-vscode-snippets
MIT License
1.33k stars 183 forks source link

It will support the Volar #99

Closed BWrong closed 3 years ago

BWrong commented 3 years ago

Now rely on Vetur, It will support the Volar?

ghost commented 3 years ago

For me it worked to just remove the extensionDependencies inside the package.json file locally. ( I have both extensions installed but Vetur disabled and Volar enabled)

Just check where your extensions are located. For me on Windows it was in: C:\Users\<USER_NAME>\.vscode\extensions\sdras.vue-vscode-snippets-2.2.1

wamich commented 3 years ago

if mac, change file like this ~/.vscode/extensions/sdras.vue-vscode-snippets-2.2.1/package.json. in the package.json, del the extensionDependencies's content.

goodchengwang commented 3 years ago

Now vetur not support script setup if it will support volar it's a good job!

sdras commented 3 years ago

Hey all, thanks for stopping by!

As mentioned above, you can change it in your local settings- I will update the repo's README so that folks can change it if they wish. I don't wish to remove Vetur because I believe it will be too much setup hassle for those just getting started in Vue otherwise, and I want it to be as frictionless as possible. I'm not interested in moving to volar yet, but might change my mind in the future. Thanks again for filing.