2

I'm trying to make my .vue components from Vue.js have their good syntactic coloration on Cloud9. Since the file is kind of oddly structured (<template> for template html, <script> for JavaScript and <style> for CSS, the file must be parsed in three different ways.

Is it possible and if so, how?

halfer
  • 19,824
  • 17
  • 99
  • 186
Cyril N.
  • 38,875
  • 36
  • 142
  • 243

1 Answers1

2

In the bottom, right-hand corner of any editor that has a Vue file open, you will see the word 'Text'.

Clicking on that word will bring up a list of options of how Cloud9 should interpret this file.

Choosing 'HTML' will likely give you the results you are looking for.

sager
  • 218
  • 3
  • 9