摘要: 一动一错 1.新建项目 (1)在项目文件位置打开终端窗口(cmd或powershell),我是在powershell上运行的 (2)运行命令 ng new my-app 来生成一个新项目以及应用的骨架代码 (3)进入项目目录、并启动服务器 情况一:这个时候没有报错的小伙伴看到的应该是: 并自动打开浏 阅读全文
posted @ 2017-09-25 15:38 约爱丽丝下午茶 阅读(168) 评论(0) 推荐(0) 编辑
摘要: < > 1.官方安装 angular/cli (1)机器上要有 node 6.9.x 和 npm 3.x.x 以上的版本,才能正常支持 angular 的运行。 (2)因为 angular/cli 是用 typescript 写的,所以要先安装它。 (3)安装 angular/cli (4)重新安装 阅读全文
posted @ 2017-09-25 14:31 约爱丽丝下午茶 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1.angular2中文网 https://www.angular.cn/docs 2.安装文档 http://blog.csdn.net/zhy13087344578/article/details/60745667 http://blog.csdn.net/zengmingen/article/ 阅读全文
posted @ 2017-09-25 14:06 约爱丽丝下午茶 阅读(84) 评论(0) 推荐(0) 编辑