标签:
添加
app.set(‘views‘, __dirname + ‘/views‘)
修改
app.use(express.static(__dirname + ‘/public‘));
express-handlebars.js源代码修改
layoutsDir : ‘../usr/local/lib/views/layouts‘,
Node与Express开发 坑1
原文地址:http://www.cnblogs.com/sdgjytu/p/4806014.html