react antd插件引入
时间:2017-10-26 14:29:32
收藏:0
阅读:257
antd ui
配置文件 babel-loader下面引入antd
plugins: [["import", { libraryName: "antd", style: "css" }]]
页面上就可以按需引用
import { DatePicker } from ‘antd‘;
原文:http://www.cnblogs.com/fm060/p/7736383.html
评论(0)