react中使用AntDesign库 --- babel-plugin-import 配置

{ "extraBabelPlugins": [ ["import", { "libraryName": "antd", "libraryDirectory": "lib", "style": "css" }] ] }

posted @ 2019-06-13 09:26  兔小兔  阅读(1414)  评论(0编辑  收藏  举报