加速ng创建项目

跳过安装node_module,直接创建项目,使用cnpm install 根据配置安装node_module. 共耗时4分钟. 如果是npm估计要非常久.

ng new project_name --skip-install
cnpm i // 安装node_module基于package.json

猜你喜欢

转载自blog.csdn.net/qq_25953937/article/details/113410912