ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Vue Syntax Highlight

by vuejs ST2/ST3

Sublime Text syntax highlighting for single-file Vue components

Details

Installs

  • Total 107K
  • Win 57K
  • OS X 37K
  • Linux 13K
Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10
Windows 205 277 261 283 75 182 261 248 291 251 258 140 141 223 245 331 281 264 140 152 215 301 294 248 245 142 171 222 279 302 312 287 144 160 293 306 263 279 296 144 144 229 278 295 289 267
OS X 85 139 147 149 66 90 122 106 133 128 126 68 92 132 132 169 120 120 68 77 111 113 132 138 153 87 90 126 125 153 147 125 69 74 101 134 132 127 153 83 71 135 116 144 144 126
Linux 30 54 69 58 36 31 52 30 60 54 47 24 32 48 65 46 48 48 24 26 46 53 48 38 36 27 29 45 54 72 46 38 25 36 45 60 62 41 51 26 34 38 50 42 57 44

Readme

Source
raw.​githubusercontent.​com

Vue Syntax Highlight

Sublime Text Syntax highlighting for single-file Vue.js components (enabled by vue-loader or vueify).

screenshot

Install

  • Via Package Control: search for Vue Syntax Highlight.
  • Manual: clone this repo into your Sublime Packages folder.

NOTE: You still need to install corresponding packages for pre-processors (e.g. Jade, SASS, CoffeeScript) to get proper syntax highlighting for them.

Enabling JSX Highlighting

The <script> block uses the syntax highlighting currently active for you normal .js files. To support JSX highlighting inside Vue files, just set Babel javascript highlighting package, which supports JSX, as your default JS highlighting. Note you may need to explicitly disable Sublime's default JavaScript package to make it work.

License

MIT