Skip to content

shahouz/feibo-base-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 TEMPLATE并基于可用模板创建一个项目

使用grunt-init /path/to/TEMPLATE基于任意其他目录中可用的模板创建一个项目

大多数的模板都应该在当前目录(执行命令的目录)中生成它们的文件(自动生成的项目相关的文件),因此,如果你不想覆盖现有的文件,注意一定要切换到一个新目录中来保证文件生成到其他目录。

About

base template for grunt-init

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published