vue3 AntV-X6 引入插件报错:
Uncaught TypeError: Cannot read properties of undefined (reading 'ToolItem')
vite 引入路径的问题解决就是在引入插件的路径后面加上/lib:
import { Keyboard } from '@antv/x6-plugin-keyboard/lib'
直接写 import { Keyboard } from '@antv/x6-plugin-keyboard' 就会报错
标签:插件,AntV,报错,vue3,引入,X6 From: https://www.cnblogs.com/haqiao/p/17831891.html