How can I enable syntax highlighting for .vue files in Atom?

前端 未结 3 1588
余生分开走
余生分开走 2021-02-07 07:16

I\'m starting up with Vue.js. The first problem I\'ve run into is that my IDE (Atom) doesn\'t beautify my .vue files. It\'s all just white text.

How can I make Atom hi

3条回答
  •  天命终不由人
    2021-02-07 08:19

    Use in your command prompt:

    apm install language-vue
    

    for syntax highlighting.

    There is another Atom package which seems to only beautify it but doesn't do syntax highlighting:

    apm install vue-format
    

    You may need to exit Atom and then restart it.

提交回复
热议问题