在本地创建完整的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 runlint
,test
, andconcat
targets - To build modules, first run
grunt html2js
thengrunt 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.