Is there a Jade template syntax checker/validator?

前端 未结 3 856
别那么骄傲
别那么骄傲 2021-02-08 02:20

I have some syntax errors in my Jade templates. Are there any tools that can help me debug?

相关标签:
3条回答
  • 2021-02-08 03:00

    Found it. Use jade [fileName].jade to debug your Jade template.

    You can install the Jade tool with npm install jade --global.

    0 讨论(0)
  • 2021-02-08 03:03

    web storm is a better tool for jade development ,it idents and corrects jade files

    0 讨论(0)
  • 2021-02-08 03:10

    Adding this here because I still had to google.

    npm i -g pug-lint

    NOTE: jade has changed its name to pug

    0 讨论(0)
提交回复
热议问题