标签:one art tar nbsp server generate first project npm
Angular2
1. install angular-cli
npm install -g angular-cli
2. new project by using ng command
ng new angular2_hello_world
3. start server
ng server
4. add new component
ng generate component hello-world
标签:one art tar nbsp server generate first project npm
原文地址:http://www.cnblogs.com/fangshiwei/p/6032631.html