grunt-opulent:适用于丰富模板引擎的Grunt插件

时间:2021-05-21 23:08:44
【文件属性】:
文件名称:grunt-opulent:适用于丰富模板引擎的Grunt插件
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-21 23:08:44
JavaScript 丰盛的 适用于创意Web开发人员的智能Web模板引擎 入门 该插件需要Grunt。 如果您以前从未使用过 ,请务必查看《指南》,因为它说明了如何创建以及安装和使用Grunt插件。 熟悉该过程后,可以使用以下命令安装此插件: npm install opulent --save-dev 除了grunt外,此插件还需要您安装Ruby> = 2.1.0并安装Opulent gem。 brew install ruby gem install opulent 插件安装完成后,可以使用以下JavaScript代码在您的Gruntfile中启用该插件: grunt . loadNpmTasks ( 'opulent' ) ; 概述 在项目的Gruntfile,添加一个名为节opulent ,以传送到数据对象grunt.initConfig() 。 grunt . initConfig
【文件预览】:
grunt-opulent-master
----.gitignore(31B)
----tasks()
--------opulent.js(1KB)
----README.md(2KB)
----test()
--------fixtures()
--------opulent_test.js(1KB)
--------expected()
----Gruntfile.js(2KB)
----.jshintrc(191B)
----package.json(881B)
----.editorconfig(214B)

网友评论