You signed in with another tab or window.Reloadto refresh your session.You signed out in another tab or window.Reloadto refresh your session.You switched accounts on another tab or window.Reloadto refresh your session.Dismiss alert
Note:Themasterbranch hosts thetmLanguagebased implementation that is distributed to Sublime Text build < 3153. It is also used to power GitHub's syntax highlight of*.vuefiles inlinguist.
For a newer implementation of the syntax that is distributed to build >=3153, See thenewbranch.
Sublime Text Syntax highlighting for single-fileVue.jscomponents (enabled byvue-loaderorvueify).
Install
Via Package Control: search forVue Syntax Highlight.
Manual: clone this repo into your SublimePackagesfolder.
Additional Installation Requirements:In order to get proper syntax highlighting for pre-processors (e.g. Jade, SASS, CoffeeScript) you will also need to install the corresponding packages for each of them.
Enabling JSX Highlighting
The<script>block uses the syntax highlighting currently active for you normal.jsfiles. To support JSX highlighting inside Vue files, just setBabel javascript highlighting package, which supports JSX, as your default JS highlighting.Note you may need to explicitly disable Sublime's defaultJavaScriptpackage to make it work.