search

Home  >  Q&A  >  body text

How to comment .vue files in sublime?

I used scaffolding to build a vue project, and then imported it into sublime text 3. I found that the // comment in the .vue file did not work. I searched on Baidu and found that there are no articles or blogs about this. Has anyone encountered this? Please explain this question

滿天的星座滿天的星座2743 days ago944

reply all(4)I'll reply

  • 为情所困

    为情所困2017-07-05 10:39:32

    I think you can first download a Vue syntax highlighting plug-in in sublime, and then try whether the comments are useful
    Reference link https://www.zhihu.com/questio...

    reply
    0
  • 三叔

    三叔2017-07-05 10:39:32

    It is recommended to use VS Code. It is not slower than sublime, but it is more open source than sublime. There are many plug-ins that support vue

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-07-05 10:39:32

    选中需要注释的内容按command+/ 或者 command+shift+/

    reply
    0
  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-07-05 10:39:32

    Comments in template are the same as comments in .html

    Comments in script tags are the same as comments in .js files

    Comments in style are the same as comments in .css

    reply
    0
  • Cancelreply