vue-cli4--G6兼容ie11
文章目录
官网文档有出入,故记录下
vue.config.js
module.exports = { transpileDependencies: [ "@antv/g6", "@antv/layout", "d3-force", "d3-dispatch", "ml-matrix", "regl", ], };- babel.config.js
module.exports = {
sourceType: 'unambiguous',
presets: [
'@vue/cli-plugin-babel/preset'
]
}
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论