res.render(file,option)是express中专门渲染视图用的,首先你要在你的app.js或者index.js中设置一下渲染引擎,比如html,jade,handlebars(我自己使用的), ...
確定! 回上一頁