GitXplorerGitXplorer
v

vue-syntax-highlight

public
1484 stars
233 forks
30 issues

Commits

List of commits on branch master.
Unverified
2a3e89e415f49f5fbe8bf8bf42e45f8f78ccf642

Update README.md

aaleph1 committed 4 years ago
Unverified
6d405948df4a112eb7a4db2ed72bbfe76dd9f419

TypeScript support

iilearnio committed 6 years ago
Unverified
bc432742a6cf1c53fb3f93f9b87cc7f217dae328

source.scss -> source.css.scss

llouim committed 6 years ago
Verified
cf1e82d90a0bb2228bdf0afb2bbfb0d30ea70a86

Merge pull request #135 from braver/master

sskyronic committed 6 years ago
Unverified
2e8c5b938264b482bb9eb177171dd82701faebff

source.less -> source.css.less

bbraver committed 6 years ago
Unverified
496004255cc43a3c0c8fc8a041e5ff1cc66bac01

fix scss highlight (close #52)

yyyx990803 committed 7 years ago

README

The README file for this repository.

Vue Syntax Highlight

Note: The master branch hosts the tmLanguage based implementation that is distributed to Sublime Text build < 3153. It is also used to power GitHub's syntax highlight of *.vue files in linguist.

For a newer implementation of the syntax that is distributed to build >=3153, See the new branch.


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.

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 .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