template-config:向模板添加声明性配置功能

时间:2021-05-15 08:27:38
【文件属性】:
文件名称:template-config:向模板添加声明性配置功能
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-15 08:27:38
JavaScript 模板配置 向模板添加声明性配置功能。 安装 用安装 $ npm i template-config --save 请注意, 用法 在以下示例中, app代表任何基于template.js的应用程序的最新版本,例如汇编,动词,脚手架,样板等。详细信息,。 var config = require ( 'template-config' ) ; var app = require ( 'template' ) ; // add a `config` method to `app` app . mixin ( 'config' , config ) ; // the following config will automatically create the // specified template collections, and load files from // the pro
【文件预览】:
template-config-master
----.travis.yml(151B)
----index.js(1KB)
----package.json(1KB)
----LICENSE(1KB)
----example.js(1KB)
----.gitignore(145B)
----.verb.md(2KB)
----README.md(3KB)
----.jshintrc(282B)
----.editorconfig(415B)
----.gitattributes(128B)

网友评论