【文件属性】:
文件名称:express-nunjucks-boilerplate:快递和修女。 哇!
文件大小:4KB
文件格式:ZIP
更新时间:2021-06-03 11:23:35
HTML
Express & Nunjucks 样板
快递和修女。 哇!
安装
clone repository
npm install
node app.js
...然后你应该看到这个,如果你去: http://localhost:3000
模板结构
/
--- views/
------- layout.html (the main layout template)
------- index.html (extends layout.html and inserts content using {% block body %})
------- example.html (extends index.html and adds to {% block content %})
【文件预览】:
express-nunjucks-boilerplate-master
----package.json(778B)
----LICENSE(1KB)
----views()
--------example.html(123B)
--------index.html(338B)
--------layout.html(818B)
----.gitignore(13B)
----app.js(679B)
----README.md(537B)