vue结合AntV G2 使用踩坑
官网使用import G2 from '@antv/g2';引入但是会报一个"export 'default' (imported as 'G2') was not found in '@antv/g2' 得错误找了半天原因,最终解决办法import * as G2 from '@antv/g2'
·
官网使用import G2 from '@antv/g2';引入但是会报一个
"export 'default' (imported as 'G2') was not found in '@antv/g2' 得错误
找了半天原因,最终解决办法
import * as G2 from '@antv/g2'
更多推荐



所有评论(0)