Can't find viewEngine for /.../app/view/index.tpl
See original GitHub issue- Node Version: 7.6.0
- Egg Version: 1.0.0-rc.1
- Plugin Name: egg-view-nunjucks
- Plugin Version: 2.0.0
- Platform: macOS 10.12.3
My configs
// {app_root}/config/plugin.js
exports.nunjucks = {
enable: true,
package: 'egg-view-nunjucks',
};
exports.view = {
defaultViewEngine: 'nunjucks',
mapping: {
'.tpl': 'nunjucks',
},
};
Issue Analytics
- State:
- Created 7 years ago
- Comments:18 (15 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
这样写就好了
写错配置…