此项目用来示范Angular2结合Bootstrap的用法。
npm install
npm install -g angular-cli
ng serve
打开你的浏览器,输入http://localhost:4200/
注意:如果在npm install的过程中有报错,可能是某些包被墙掉(f**k GFW)了,请自己设置翻墙代理之后再运行npm install,设置方式示例:npm config set proxy=http://127.0.0.1:1080
如果有有node-gyp的报错,可以在npm install的后面加上参数--no-optional
如果你想要生成模块之间的依赖关系图,请使用angular2-dependencies-graph,这是一个第三方的node模块,路径在这里https://github.com/manekinekko/angular2-dependencies-graph
当前的模块依赖关系图我已经生成在src/documentation目录下。
https://github.com/valor-software/ng2-bootstrap
API文档:http://valor-software.com/ng2-bootstrap/#/
MIT
你可以随意使用此项目,无需通知我,因为我可能很忙没空搭理你。
https://my.oschina.net/mumu/blog
This project shows how to use Angular2 with Bootstrap.
npm install
npm install -g angular-cli
ng serve
Navigate your browser to http://localhost:4200/
Note:If there are some errors when you use npm install,perhaps some npm modules are blocked by GFW(f**k GFW!),please set the npm proxy for yourself,example:npm config set proxy=http://127.0.0.1:1080
If there are some errors caused by node-gyp,try adding --no-optional after npm install.
You can use angular2-dependencies-graph to generate dependencies of modules in this project,angular2-dependencies-graph is a third-party node module,its repo URL is here:https://github.com/manekinekko/angular2-dependencies-graph
Dependencies of current moduels is generated in src/documentation.
https://github.com/valor-software/ng2-bootstrap
API documents:http://valor-software.com/ng2-bootstrap/#/
MIT
You can use this repo whatever you want,no need to contact me first,I might be too busy to answer you.