![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
andt
这个作者很懒,什么都没留下…
展开
-
Failed to compile.Syntax error: Unknown word (7:1)
andt按需引入一个button报错["import", { "libraryName": "antd", "style": true }]true 换成 ‘css’ 重启原创 2020-12-22 00:01:48 · 348 阅读 · 0 评论 -
安装配置babel-plugin-import
antd按需加载安装babel-plugin-import// yarnyarn add babel-plugin-import//npmnpm install --save babel-plugin-import暴露webpack// yarnyarn eject//npmnpm run eject配置webpack.config.jswebpack3.0之后修改webpack.config.dev和.prod下搜索 Process JS with Babel.下原创 2020-12-21 03:51:30 · 2172 阅读 · 1 评论