首页 > 其他 > 详细

在本地创建angular-ui/bootstrap项目

时间:2015-10-14 13:58:30      阅读:336      评论:0      收藏:0      [点我收藏+]

在本地创建完整的angular-ui/Bootstrap项目

git clone the repo, then switch to the tag you want,then use grunt build to create the whole project.

reference:https://github.com/angular-ui/bootstrap/tree/0.12.1

just look the following : 

Contributing to the project

We are always looking for the quality contributions! Please check the CONTRIBUTING.md for the contribution guidelines.

Development

Prepare your environment

  • Install Node.js and NPM (should come with)
  • Install global dev dependencies: npm install -g grunt-cli karma
  • Install local dev dependencies: npm install while current directory is bootstrap repo

Build

  • Build the whole project: grunt - this will run linttest, and concat targets
  • To build modules, first run grunt html2js then grunt build:module1:module2...:moduleN

You can generate a custom build, containing only needed modules, from the project‘s homepage. Alternatively you can run local Grunt build from the command line and list needed modules as shown below:

grunt build:modal:tabs:alert:popover:dropdownToggle:buttons:progressbar

Check the Grunt build file for other tasks that are defined for this project.

在本地创建angular-ui/bootstrap项目

原文:http://www.cnblogs.com/direction/p/4877090.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!