您的位置:首页 > Web前端 > AngularJS

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

2020-03-05 11:56 901 查看

在本地创建完整的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 
    lint
    test
    , 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.

转载于:https://www.cnblogs.com/direction/p/4877090.html

  • 点赞
  • 收藏
  • 分享
  • 文章举报
aixu2180 发布了0 篇原创文章 · 获赞 0 · 访问量 25 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: