Is there a Jade template syntax checker/validator?

南笙酒味 提交于 2019-12-03 17:09:32

问题


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


回答1:


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

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




回答2:


Adding this here because I still had to google.

npm i -g pug-lint

NOTE: jade has changed its name to pug




回答3:


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



来源:https://stackoverflow.com/questions/14173144/is-there-a-jade-template-syntax-checker-validator

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!