sublime text file editor to highlight vue

1. Download the plug-vue-syntax-highlight. https://github.com/vuejs/vue-syntax-highlight

2. Enter the sublime, select the menu item "Preferences-> Browse Packages into the Preferences -> Browser plugins folder to download the plug-in to extract the contents of the new directory vue

3.sublime press the shortcut key "ctrl + shift + p", the input vue open the packages input box, select "Set Syntax: Vue Component" to load

4. Reopen .vue file, which can be seen Syntax Highlighting

Guess you like

Origin www.cnblogs.com/Mach-mht/p/11022694.html