Many months ( even though it recently got a new maintainer).īut in my opinion, the appropriate choice is to go for Volar when possible, as you can also use it for Vue 2 (see setup for Vue 2). But, as you can see by going to the repository, the extension has not been updated for It has syntax and semantic highlighting for SFC, snippets, formatting and linting. If you are still coding in Vue 2 or Nuxt 2, you will be more than happy with Vetur. Volar is the new recommendation for Vue 3 in all cases.- Evan You November 9, 2021 Recommended extension for Vite development. Vue’s creator, Evan You, advises this, which also seems to be the Long story short: If you are using Vue 3, choose Volar. Thus, Volar was created to solve these issues in order to ensure that the development experience remains enjoyable for Vue 3 TypeScript developers. Another thing is that it had no support for Vue 3’s new syntax with the composition API which was gaining a lot of popularity. The background, which could cause the editor to become slow. Also, most of the time, a lot of computing was done in But, with the arrival of TypeScript in the ecosystem, the extension got some issues to support it properly. Before Vue 3, Vetur was the recommended choice. But, the thing is that they are not meant to be used together (as it will cause conflicts). Volar (AKA Vue Language Features) and Vetur are two of the most popular VS Code extensions for Vue and Nuxt developers. Also keeps in mind that VSĬode comes with Emmet directly installed, so you do not have to install an extension for it. Note: I will not talk about the most popular ubiquitous extensions like ESLint, Debugger for Chrome, Auto Close Tag, etc. This was when I said to myself, let’s write an article about the most popular VS Code extensions for Vue! □ So many new things about linting, formatting and autocompletion that I wish I had known earlier. We probably spent a few hours tinkering with our editor, and I learned But, while browsing both plugins’ documentation, I noticed how much stuff I ignored. Of course, I introduced her to Vetur and Volar while making sure to highlight the difference. She was coding in JavaScript, sometimes in TypeScript, and dealing most of the time with frameworks like Vue 3 or Nuxt. I was in a coffee shop last week when a friend of mine asked me what kind of plugins she should set up on VS Code. If you’re coding in JavaScript or TypeScript with Vue 3 or Nuxt and looking for ways to make the most of your setup on VS Code, this article is for you! We talk here about Vetur and Volar and go through linting, formatting and autocompletion tips you wish you knew earlier.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |