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

How to add a costum Node component? #441

Open
Elektrokiste opened this issue Jan 2, 2025 · 0 comments
Open

How to add a costum Node component? #441

Elektrokiste opened this issue Jan 2, 2025 · 0 comments

Comments

@Elektrokiste
Copy link

Elektrokiste commented Jan 2, 2025

Maybe its due to my inkompetenze, but i am not able to create a custom node component at all. I'd try to follow the Guide in the Doc, use the default component as a base, copied the content of the file Node.vue to a new file inside my projekt. then use the Example from the doc

<script setup> import { BaklavaEditor, Components } from "@baklavajs/renderer-vue"; const BaklavaNode = Components.Node; // example, replace with your component: import MyNodeRenderer from "./MyNodeRenderer.vue"; </script>

Tryed to fix the Imports of the vue-File, which doesn't really work, since the files on the Repo are normal vue files, but the npm installed version is only vue.d.ts which does not seem to fit together in any way

what do I do wrong? I dont get it

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