angular 示例项目

cnpm install

环境安装好后,快速创建一个新项目,如在D盘下新建一个angularProject项目,只要在本地目录下 

ng new angularProject
angularProject是自己命名的项目名称
1、ng new demo01 --skip-install

 npm依赖安装成功后,

 运行 ng serve --port 4201

原文地址:https://www.cnblogs.com/web520/p/8034378.html