Support third party Vue libraries #1454
Replies: 4 comments 14 replies
-
Hi @Smug246! This is a very good question. Actually, I'm not sure if there is an easy answer. Although we support defining custom elements using single-file components like joystick.vue, we're currently not using Vue dependencies. I tried creating an example with vue-signature-pad, but struggled to get it to work. In contrast it is rather easy to work with the JavaScript counterpart signature-pad:
Now you can add a |
Beta Was this translation helpful? Give feedback.
-
It would be sooo great if NiceGUI would allow the user to use a third-party Vue library based on an NPM name. It could automatically download the library and its dependencies if they don't already exist locally. But currently we even struggle to use any custom Vue 3 components. So I'm not sure how the integration of even more Vue components could work. |
Beta Was this translation helpful? Give feedback.
-
I realized that we don't need to compile 3rd-party Vue components if we have access to a compiled JavaScript version, like a min.js or esm.js file. But I'm still working on a POC example. |
Beta Was this translation helpful? Give feedback.
-
In #1546 we have a request to support vue-grid-layout. Should be possible as soon as we have the generic ability to wrap vue components. |
Beta Was this translation helpful? Give feedback.
-
how would i go about integrating this https://github.com/neighborhood999/vue-signature-pad into a python class i looked at nipple.js but don't really understand it as im not familiar with vue
Beta Was this translation helpful? Give feedback.
All reactions