官网文档-模板渲染ejs无法配置模板,一直报错 #3998
Replies: 3 comments 9 replies
-
是用了 egg ? |
Beta Was this translation helpful? Give feedback.
-
呃,应该没有吧,我按官网文档操作的npm init midway@latest -y,选的 koa-v3 - A web application boilerplate with midway v3(koa) |
Beta Was this translation helpful? Give feedback.
-
render 了一个目录不对的文件(比如没写后缀) |
Beta Was this translation helpful? Give feedback.
-
按照文档走一直报错
注释81行才正常 node_modules@midwayjs\view\dist\viewManager.js
// assert(filename,
Can't find ${name} from ${config.root.join(',')}
);而且dev模式修改ejs不会更新,得重新run
Beta Was this translation helpful? Give feedback.
All reactions