A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue-syntax-highlight/tree/new below:

GitHub - vuejs/vue-syntax-highlight at new

Note: the new branch hosts the new syntax that only works in Sublime build > 3153. For the old syntax, see master branch.

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

NOTE: You still need to install corresponding packages for pre-processors (e.g. Pug, 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:

  1. Install and set Babel javascript highlighting package, which supports JSX, as your default JS highlighting.

  2. Explicitly disable Sublime's default JavaScript package. This allows the Babel package to be applied the embedded <script> in *.vue files. You may need to restart Sublime for this to take effect.

MIT


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4