umi4.0.11如何引入antd样式 #8940
oneplusonecy
started this conversation in
General
Replies: 1 comment
-
使用 antd 插件或者直接创建 max 项目(已经内置了 antd 插件)。 pnpm add -D @umijs/plugins // .umirc.ts
export default {
antd: {},
plugins: ['@umijs/plugins/dist/antd']
} FYI : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v3版本之前配置antd:true即可,最新版本不支持该属性了,antd样式也没有,具体怎么引入样式
Beta Was this translation helpful? Give feedback.
All reactions