handlebars使用總結

1.安裝express-handlebars  :   npm install --save express-handlebarshtml 2.引入使用    var handlebars = require('express-handlebars').create({ dafaultLayout: 'main',extname: '.hds'}) //指定默認主佈局,模板文件的後綴名    ex
相關文章
相關標籤/搜索