codemod-v4
codemod-v4 copied to clipboard
codemod cli for antd v4 upgrade
不能按需加载样式和修改主题同时使用了
 图上的select样式失效,也无法展开options之后也无法选择,也无法失焦; 但是input就可以正常显示的;初步怀疑是没有引入antd的样式,但是input组件却没有被影响,可以正常使用;有同学遇到过这个问题吗???
Your tool now is not working because it use library colors.js that currenctly destroyed https://github.com/Marak/colors.js/issues/296
```js {}} > ``` **效果图:**  **css加载后的样式:**   请问,这种是什么原因造成的,怎么解决呀
"antd": "^4.17.2", "react": "^16.14.0", "less": "^3.10.3", "less-loader": "^10.2.0", "css-loader": "^6.5.1", ERROR in ./~/[email protected]@css-loader/dist/cjs.js!./~/postcss-loader?modules!./~/[email protected]@antd/lib/config-provider/style/index.css Module build failed: BrowserslistError: Unknown browser query `dead` at error (D:\DING\other\UIUpdateV4\casshand-frontend-pc\node_modules\browserslist\index.js:37:11) at D:\DING\other\UIUpdateV4\casshand-frontend-pc\node_modules\browserslist\index.js:222:9 at Array.forEach () at...
icon={‘filter’} icon={} 类似于这种全都要手动修改
例如: Center/deviceGroup/groupSelect/index.tsx(243,9): Type '{ selectedRowKeys: string[] | number[]; onChange: (selectedRowKeysArr: string[] | number[], selectedRows: any) => void; }' is not assignable to type 'TableRowSelection'. Types of property 'onChange' are incompatible....