<- to Blogs

Best VS Code extensions for Nuxt/Vue Projects

Ravgeet Dhillon
Ravgeet Dhillon on May 19, 20214 min read
Written in
Blog banner for Best VS Code extensions for Nuxt/Vue Projects

Using the right set of tools can make us a happy and better developer. Right tools reduce friction and help us develop applications faster. In this blog, we will take a look at some of the best VS Code extensions that we can use for developing Nuxt/Vue apps. These extensions help us with things like linting, formatting, debugging, and more.

1. Vetur

Vetur Extension VS Code

Vetur is the king of all extensions we need as a Vue/Nuxt Developer. It is a Vue tooling for VS Code. It comes with Vue Language Server and other features like syntax highlighting, formatting, intellisense, debugging, and more.

Source.

2. Vue Discovery

Vue Discovery VS Code

Vue Discovery is a great plugin that adds to the powers of Vetur. This extension discovers Vue components in our workspace and provides IntelliSense for them. It provides intellisense for components in the template section, allow us to automatically import, register and expand required props, and more.

In Short: Vue component name completion across a project

Source

3. Vue Peek

Vue Peek Extension VS Code

Vue Peek allows us to go to the definition for Vue components. It allows us to look under the hood of the Vue component declarations. It allows us to quickly jump to or peek into files that are referenced as components (from template), or as module imports (from a script).

The extension supports all the normal capabilities of symbol definition tracking and does it for CSS selectors - classes and IDs - as well.

In Short: Peek inside Vue SFCs

Source

4. HTML CSS Class Completion

HTML CSS Class Completion Extension VS Code

HTML CSS Class Completion is an amazing Visual Studio Code extension that provides CSS class name completion for the HTML class attribute based on the definitions found in our workspace or external files referenced through the link element. It is extremely handy while designing the UI of the application as it gives us quick access to the CSS classes available.

In Short: CSS class completion in your HTML template

Source

5. Import Cost

Import Cost Extension VS Code

As a developer, our primary concern is to make sure that the application size doesn’t go beyond a certain limit. Import Cost extension displays the size of the imported package inline in the editor.

It currently supports

  • Default importing: import Func from ‘utils’;
  • Entire content importing: import * as Utils from ‘utils’;
  • Selective importing: import {Func} from ‘utils’;
  • Selective importing with alias: import {orig as alias} from ‘utils’;
  • Submodule importing: import Func from ‘utils/Func’;
  • Require: const Func = require(‘utils’).Func;
  • Supports both Javascript and Typescript

In Short: Tells you the size of your npm imports

Source

6. Internationalization

Internationalization or i18n allows us to write our application text in different languages for different regions.

i18n Extension VS Code

i18n supports multi-root workspaces, remote development, many popular frameworks, linked locale messages, and eliminates the need to use JSON files for i18n as is done traditionally.

In Short: i18n toolset for multilingual support, works great with vue-i18n

Source

7. Path Intellisense

Path IntelliSense Extension VS Code

One of the VS Code extension that we use at RavSam is Path Intellisense. It provides autocompletion for file paths present in your current VS Code workspace.

In Short: File path completion

Source

8. SVGO

SVGO Extenstion VS Code - 1

SVGO Extension for Visual Studio Code is built on the top of SVGO NPM module. It allows us to minify and prettify the SVG file in place.

In Short: Minimize SVG files in two keystrokes

Source

TAGGED IN

Subscribe to RavSam Web Solutions newletter for information about Website development, mobile apps development and software development

Subscribe to our Newsletter

We write about Nuxt, Vue, Flutter, Strapi, Python and Automation.

Please add a valid email.
By clicking submit button, you agree to our privacy policy.
Thanks for subscribing to our newsletter.
There was some problem while registering your newsletter subscription. Please try again after some time or notify the owners at info@ravsam.in

PEOPLE ALSO READ

Blog banner for Turn a Google Sheet into a REST API

Turn a Google Sheet into a REST API

Written in Development
Blog banner for Disable Submit button if Form fields have not changed in a Nuxt/Vue app

Disable Submit button if Form fields have not changed in a Nuxt/Vue app

Written in Development

Got a project or partnership in mind?

Let's Talk

Contact Us ->