Open simplejason opened 2 years ago
Todo
为什么我升级后,页面反复自动刷新,当修改文件后。强刷后又正常了。
为什么我升级后,页面反复自动刷新,当修改文件后。强刷后又正常了。
有复现吗?
为什么我升级后,页面反复自动刷新,当修改文件后。强刷后又正常了。
有复现吗?
没有,空了我再试试
./projects/mgr/src/styles.less - Error: Module build failed (from ./node_modules/less-loader/dist/cjs.js):
// @import './variable.less'; @import './@{root-entry-name}.less'; ^ Variable @root-entry-name is undefined Error in ./code/front/node_modules/ng-zorro-antd/style/themes/index.less (line 7, column 8)
English Version
Before upgrade
Node.js
>=14.15.5
or >=16.10.0
.1.Upgrade dependencies
ng update @angular/cdk
, if you have used@angular/cdk
.2.Upgrade NG-ZORRO
ng update ng-zorro-antd
.Common Problems
中文版
开始之前
Node.js
>=14.15.5
或 >=16.10.0
升级步骤
1. 升级相关依赖
@angular/cdk
请执行ng update @angular/cdk
2.升级 NG-ZORRO
ng update ng-zorro-antd
常见问题
样式不符
icon
使用方式从i
元素切换为span
元素,如果切换到新的使用方式导致样式未按预期渲染,请确保 css 选择器正确书写pagination
组件增加ul
标签以适应语义化,确保样式中没有nz-pagination > li
这样的选择器