![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
配置学习
方茜
这个作者很懒,什么都没留下…
展开
-
Angular版本升级
1.升级全局Angular CLI npm install -g @angular/cli@latest 2.解决CLI和程序CLI版本不一致问题 npm rebuild node-sass 3.启动更新程序,查看哪些需要更新 ng update 得到结果 4.升级剩下所有组件 ng update --all --force 5.升级完成后,可以能有一些插件不兼容,可以通过下面的方式安装需要的版本 npm i (需要的更新的组件)...原创 2021-03-18 15:15:30 · 2653 阅读 · 0 评论 -
搭建angular环境
一、安装 1、先安装npm淘宝镜像 一.通过命令配置验证 命令 npm config set registry https://registry.npm.taobao.org 验证命令 npm config get registry 如果返回https://registry.npm.taobao.org,说明镜像配置成功。 二.通过使用npm安装 cnpm ----npm install -g cnpm –registry=https://registry.npm.taobao.org c...原创 2021-03-18 15:13:17 · 162 阅读 · 0 评论