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

(0 , $csb__vue_demi.createApp) is not a function for X6 v2.0 #3598

Closed
Ya2gLu opened this issue May 18, 2023 · 3 comments
Closed

(0 , $csb__vue_demi.createApp) is not a function for X6 v2.0 #3598

Ya2gLu opened this issue May 18, 2023 · 3 comments

Comments

@Ya2gLu
Copy link

Ya2gLu commented May 18, 2023

Describe the bug

  • import x6-vue-shape module, register function occur a Error: (0 , $csb__vue_demi.createApp) is not a function

Your Example Website or App

https://codesandbox.io/s/shy-shadow-w125bc?file=/src/components/Topology.vue

Steps to Reproduce the Bug or Issue

  1. Go to components -> Topology.vue
  2. import {register} from "@antv/x6-vue-shape"(version: 2.0.11)
  3. register
  4. write graph.addNode() in method hook
  5. callback it
  6. run

Expected behavior

I expected add a vue node or display my graph, but it Prompt me: (0 , $csb__vue_demi.createApp) is not a function

Screenshots or Videos

No response

Platform

  • OS: windows 11 22H2
  • Browser: Edge 113, Firefox nighty
  • Version: 115 canary

Additional context

No response

@x6-bot
Copy link
Contributor

x6-bot bot commented May 18, 2023

👋 @Ya2gLu

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@Ya2gLu
Copy link
Author

Ya2gLu commented May 22, 2023

Supplement: '$csb__vue_demi.isVue2' is not passed when I debug the source code:
image

@Ya2gLu Ya2gLu closed this as completed May 25, 2023
@x6-bot
Copy link
Contributor

x6-bot bot commented May 24, 2024

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators May 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant