【文件属性】:
文件名称:feibo-base-template:grunt-init 的基本模板
文件大小:225KB
文件格式:ZIP
更新时间:2021-06-03 23:25:31
JavaScript
grunt-init-feiboBase
飞博基础页面脚手架
使用前请先确认安装了 Grunt 和 Grunt-init。
安装Grunt 和 Grunt-init:
npm uninstall grunt -g
npm install grunt-cli -g
npm install grunt-init -g
安装模板:
git clone https://github.com/shahouz/feibo-base-template.git ~/.grunt-init/feibo-base
(在Windows平台是%USERPROFILE%.grunt-init\目录)
会将模板下载到你本地 grunt-init 目录下。
用模板创建项目:
定位到项目目录,执行以下命令:
使用grunt-init --help来获取程序帮助以及列出可用模板清单
使用grunt-init TEMPLAT
【文件预览】:
feibo-base-template-master
----rename.json(145B)
----root()
--------statics()
--------package.json(424B)
--------index.html(1KB)
--------Gruntfile.js(2KB)
--------.gitignore(15B)
--------.jshintrc(209B)
----template.js(3KB)
----README.md(1KB)