在本地创建angular-uibootstrap项目

mac2022-06-30  21

在本地创建完整的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 karmaInstall local dev dependencies: npm install while current directory is bootstrap repo

Build

Build the whole project: grunt - this will run lint, test, and concat targetsTo 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

相关资源:详解Angular-ui-BootStrap组件的解释以及使用
最新回复(0)