老师less版本回退之后还是无法解决问题报错

来源:3-2 基础插件安装(2)

封笺

2018-11-03

Failed to compile
./src/index.js
Error: .plugins[0][1] must be an object, false, or undefined
    at Array.forEach (<anonymous>)
    at Array.forEach (<anonymous>)
This error occurred during the build time and cannot be dismissed.
写回答

4回答

封笺

提问者

2019-04-22

这个其实不是很大的问题,最后我发现

用按需加载`babel-plugin-import`之后可以直接引用组件了。

也就是说你的代码中得这么写

import { Button } from 'antd';
<!-- import 'antd/dist/antd.css'; -->




0
0

OctYu

2019-03-13

我也是这个问题 请问该怎么解决呢

0
0

V丶x

2018-11-12

我也是 出这个问题 请问是如何解决的?

0
1
V丶x
解决了 谢谢
2018-11-12
共1条回复

河畔一角

2018-11-09

可以加我QQ534877846,我帮助您看一下具体问题

0
3
qq_隔壁熊_0
回复
V丶x
请问怎么解决的呢
2018-11-13
共3条回复

React全家桶+AntD共享单车后台管理系统开发

React全家桶+AntD框架+大量前沿技术

1142 学习 · 495 问题

查看课程