We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In DEV environment, everything is ok. In PROD environmnet, Cannot read properties of undefined (reading 'Graph')
No response
Just vue3 + vite import { Graph } from '@antv/g6'
🆕 5.x
macOS
Chrome
The text was updated successfully, but these errors were encountered:
vite 2.x version
Sorry, something went wrong.
I created a vue app and used G6, and the built product worked without the problem you described. You can provide more information.
I think it is caused by the lower version vite(2.6)
In vite 4.x version, everything is ok
No branches or pull requests
Describe the bug / 问题描述
In DEV environment, everything is ok.
In PROD environmnet, Cannot read properties of undefined (reading 'Graph')
Reproduction link / 重现链接
No response
Steps to Reproduce the Bug or Issue / 重现步骤
Just vue3 + vite
import { Graph } from '@antv/g6'
G6 Version / G6 版本
🆕 5.x
Operating System / 操作系统
macOS
Browser / 浏览器
Chrome
Additional context / 补充说明
No response
The text was updated successfully, but these errors were encountered: