antvis/G2

G2与低版本g6共存报错 #3608

Malcn posted onGitHub

前置条件:使用npm i 安装

"@antv/g2": "4.1.25", "@antv/g6": "3.2.0",

同时使用报错


应该是 底层 G 版本不一致。有一个解决办法,就是 import { } from '@antv/g6/dist/g6.min.js' 直接引入打包之后的文件,这样可以避免包冲突。

posted by hustcc over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests