在vscode 中运行node.js导入ejs公共模板
出现报错:Unexpected token ‘)’ in ./views/index.ejs while compiling ejs
这是因为注释的问题
把注释 删掉就好了
使用node.js导入ejs公共模板时报错:Unexpected token ')' in ./views/index.ejs while compiling ejs
最新推荐文章于 2021-06-16 18:03:02 发布
在vscode 中运行node.js导入ejs公共模板
出现报错:Unexpected token ‘)’ in ./views/index.ejs while compiling ejs
这是因为注释的问题
把注释 删掉就好了