Skip to content
New issue

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

SerpentineLayout.js 没有export #181

Closed
cindydove opened this issue Jul 11, 2022 · 1 comment
Closed

SerpentineLayout.js 没有export #181

cindydove opened this issue Jul 11, 2022 · 1 comment
Labels
intended behavior This describes correct behavior -- it is working as designed question; belongs in forum This isn't an issue with GoJS, so doesn't belong here -- post at https://forum.nwoods.com/c/gojs/11

Comments

@cindydove
Copy link

gojs/extensions/SerpentineLayout.js这个文件中没有将SerpentineLayout类通过export导出,导致vue项目中无法使用该类

@WalterNorthwoods
Copy link
Contributor

The extension files in the "extensions" directory are meant to be loaded with a <script> tag.

The extension files in the "extensionsTS" directory are modules meant to be loaded with require.

The extension files in the "extensionsJSM" directory are ES6 modules meant to be loaded with import.

Copy the extensions that you want to use to your own project and fix their require/import statements to make sure that you don't load GoJS library more than once.

@WalterNorthwoods WalterNorthwoods added question; belongs in forum This isn't an issue with GoJS, so doesn't belong here -- post at https://forum.nwoods.com/c/gojs/11 intended behavior This describes correct behavior -- it is working as designed labels Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
intended behavior This describes correct behavior -- it is working as designed question; belongs in forum This isn't an issue with GoJS, so doesn't belong here -- post at https://forum.nwoods.com/c/gojs/11
Projects
None yet
Development

No branches or pull requests

2 participants