/Web

Emmet for React/Vue in VS Code

I have been using VS Code for the past several months and have been really enjoying it. There is nothing super ground breaking and does a lot of the same things previous editor have done. The extensions are easy to install and out of the box it comes with some very nice features for Front End Engineers. Emmet for example, comes packaged with VS Code. Emmet will work as expected in HTML files but requires a very small amount of configuration to play nicely with frameworks such as React and Vue.

Right from the source of VS Codes documentation the following will get Emmet up and running:

"emmet.includeLanguages": {
  "javascript": "javascriptreact",
  "vue-html": "html"
}

(https://code.visualstudio.com/docs/editor/emmet#_emmet-abbreviations-in-other-file-types)

Subscribe to Stephen Tvedt

Get the latest posts delivered right to your inbox

Stephen

Stephen

Software, Photogaphy, Design, Music

Read More