6 VSCode Extensions Necessary for Vue3 Development🔥

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • volar

    Discontinued ⚡ Explore high-performance tooling for Vue [Moved to: https://github.com/vuejs/language-tools]

  • With the release of the official version of Vue3, the Vue team officially recommends the Volar extension to replace the Vetur extension, which not only supports Vue3 language highlighting, syntax detection, Also supports TypeScript and type checking based on vue-tsc.

  • vscode-css-languageservice

    CSS, LESS & SCSS language service extracted from VSCode to be reused, e.g in the Monaco editor.

  • It is recommended to use css/less/scss as the language for , because these are based on vscode-css-language the service provides reliable language support;

  • If using postcss/stylus/sass, additional syntax highlighting extensions need to be installed. postcss uses language-postcss, stylus uses language-stylus extension, sass uses Sass extension;
  • Volar does not contain ESLint and Prettier, while the official ESLint and Prettier extension supports Vue, so you need to install it yourself.
  • 2. Vue VSCode Snippets

    🔥 1.52 million downloads+

    Vue VSCode Snippets extension aims to provide developers with the easiest and fastest way to generate Vue code snippets, through various shortcuts key to quickly generate various code snippets in .vue files. It is simply a must-have artifact for Vue3 development.

    This extension supports: Volar, Vue2 and Vue3.

    Vue VSCode Snippets

    It is used as follows:

    • Create a .vue file and enter vbase to prompt the generated template content:

    Vue VSCode Snippets

    • Type vfor to quickly generate a v-for command template:

    Vue VSCode Snippets

    • Type v3onmounted to quickly generate the onMounted lifecycle function:

    Vue VSCode Snippets

    Others will not be demonstrated anymore. The functions are too powerful, and there are many commonly used shortcut keys. For details, you can check the document.

    3. Auto Close Tag

    🔥 7.69 million downloads+

    The Auto Close Tag extension is a great VS Code extension that has a big impact on productivity. As the name suggests, when we type the closing bracket in the closing tag, it will add the closing tag. It supports HTML, Handlebars, XML, PHP, Vue, JavaScript, Typescript, JSX and more.

    Auto Close Tag

    4. Vue Peek

    🔥 490k+ downloads

    Vue Peek Extension is used to expand the Vue code editing experience, allowing us to quickly jump to the files defined by components and modules.

    Vue Peek

    It is used as follows:

    • Right-click the component label to jump to the component definition file:

    Vue Peek

    • Right-click the component label, and a pop-up window displays the file defined by the component:

    Vue Peek

    5. Vue Theme

    🔥 340k downloads+

    Vue Theme extension provides a good Vue theme, and also supports configuring different colors, which feels pretty good.

    Vue Theme

    6. Vite

    🔥 89k+ downloads

    The Vite extension allows us to automatically start the development server after opening the project, allowing developers to preview and debug the application without leaving the editor . Support one-click to start, build and restart projects.

    Vite

    Summarize

    The 6 extensions shared today can be installed and used as needed.

    I highly recommend Practical Volar and Vue VSCode Snippets These 2 extensions.
    If you think it's good, please like and support. 👍

    If you have a better extension, welcome to comment and share~🔥

    ✨follow me:https://medium.com/@Chris1993

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts