search

Home  >  Q&A  >  body text

javascript - How to make css preprocessing code such as sass highlighted in vue single file component in sublime text?

How to make css preprocessing codes such as sass highlighted in vue single file components in sublime text?

After I added lang="scss" in <style scoped>, I can no longer highlight it, and the shortcut keys such as comments have also become html comments. Is there any way to solve this problem? If that doesn't work, should I write a sublime text plug-in myself? Are there any tutorials on this?

PHP中文网PHP中文网2755 days ago872

reply all(2)I'll reply

  • 为情所困

    为情所困2017-05-16 13:37:52

    Mine can be highlighted, so I installed the following.

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-16 13:37:52

    Use the vs code editor, which is most suitable for writing vue. It is equally easy to use when writing other editors and installing corresponding plug-ins.

    reply
    0
  • Cancelreply