在package.json文件中添加如下代码
"plugins": [
[
"import",
{
"libraryName": "antd",
"style": "css"
}
]
]复制代码
"plugins": [
[
"import",
{
"libraryName": "antd",
"style": "css"
}
]
]复制代码
转载于:https://juejin.im/post/5c93638ff265da610762f41e