antvis/G6

The issue has been closed
How to test my code with g6 #2350
StarkShang posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
When I test my code which uses g6 as component, I find that the global document object is not defined. What can I do to test my code with g6?
Environment | Info |
---|---|
g6 | 4.0.1 |
System | - |
Browser | - |
<!-- generated by antv-issue-helper. DO NOT REMOVE -->