How do I pass content from a template to a layout in Express?

后端 未结 6 1592
忘了有多久
忘了有多久 2021-01-31 00:25

I have a basic Express server:

// server.js:
var Express = require(\'express\');
app = Express.createServer();
app.configure(function(){
  app.set(\'views\', Pat         


        
6条回答
提交回复
热议问题