Vue Component script tag not highlighting properly
dshcheung opened this issue · comments
Denis Cheung commented
Adrian Bjugård commented
I think the .vue
extension is meant to be used with Single File Components, not pure jsx. It even says so in the readme for this project:
Sublime Text Syntax highlighting for single-file Vue.js components (enabled by vue-loader or vueify).
Furthermore, I'm not sure what you expect it to highlight differently from the babel syntax when used like this, as Vue script syntax is just regular js with a couple of known lifecycles in the root exported object.