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

jsplumb toolkit 2.x vue3 migration #1045

Open
Yunchitz opened this issue Nov 3, 2023 · 0 comments
Open

jsplumb toolkit 2.x vue3 migration #1045

Yunchitz opened this issue Nov 3, 2023 · 0 comments

Comments

@Yunchitz
Copy link

Yunchitz commented Nov 3, 2023

Hello guys! We are in process of vue3 migration of our application. We use jsplumb toolkit 2.x and jsplumbtoolkit-vue2. We are asking for help to migrate next piece of vue2 code to vue3 inside jsplumbtoolkit-vue2 lib. Or asking some suggestion: do we need to migrate jsplumb to 6.x in this case.
`var cls = Vue.extend(def.component), instance = new cls({
data: {
obj: data,
toolkit: toolkit,
surface: surface,
vertex: node
},
parent: toolkitComponent
// todo can listeners be passed through here?
});
instance.$mount();
node.data = data; // this copies in the new reactive data that vue made
instance.$el._ref = instance;

                    return instance.$el;` 

Thanks a lot in advance!
Screenshot_393

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant