uniapp vue2 + ant-design-vue@1.7.8
main.js全局注册
[code=javascript]
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
Vue.use(Antd);
[/code]
目前会报错
[code=javascript]
15:20:37.217 文件查找失败:'core-js/library/fn/array/from' at node_modules\babel-runtime\core-js\array\from.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/get-iterator' at node_modules\babel-runtime\core-js\get-iterator.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/is-iterable' at node_modules\babel-runtime\core-js\is-iterable.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/object/assign' at node_modules\babel-runtime\core-js\object\assign.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/object/define-property' at node_modules\babel-runtime\core-js\object\define-property.js:2
15:20:37.217 文件查找失败:'core-js/library/fn/symbol' at node_modules\babel-runtime\core-js\symbol.js:2
15:20:37.218 文件查找失败:'core-js/library/fn/symbol/iterator' at node_modules\babel-runtime\core-js\symbol\iterator.js:2
[/code]
下载了core-js依然报错
0 个回复