首页 > 其他 > 详细

angular4 搭建项目

时间:2017-09-22 00:26:24      阅读:406      评论:0      收藏:0      [点我收藏+]

1、安装 设置开发环境

npm install -g @angular/cli

2、创建新项目

ng new myApp  / ng new router routing

3、启动开发服务器

cd my-app
ng serve --open

4、创建组件模块

ng g component myComponent

 

angular4 搭建项目

原文:http://www.cnblogs.com/vhen/p/7572075.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!