vs 标签

VS保存时自动格式化导致ejs编译错误

ejs模板引擎不知道大家有没有好的格式化插件,有的话,求一个 最近遇到一个ejs解析的问题,非常小心的写好ejs文件,一运行出了错,如下 Invalid or unexpected token in /Users/wang/Desktop/Work/Node/nobook/views/web-index.ejs while compiling ejs If the above error is not helpful, you may want to try EJS-Lint: https://github.com/RyanZim/EJS-Lint SyntaxError: Invalid or unexpected token in /Users/wang/Desktop/Work/Node/nobook/views/web-index.ejs while compiling ejs If the above error is not helpful, you may want to try EJS-Lint: https://github.com/RyanZim/EJS-Lint ....

阅读全文 »