-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
Issues using Vuetify.js components in controls #14
Comments
What version of your installed Vue.js? |
Vue 2.6.10 And for completeness: npm 6.9.0 |
const vm = new Vue({
el: '#app',
vuetify: new Vuetify({ vuetify is initialized for Use: Vue.use(Vuetify); or specify Vuetify components in Rete.Control -> component import { VSelect } from 'vuetify/lib'
///
components: {
'v-select': VSelect
} It this case I see |
editor.use(VueRenderPlugin, {
options: {
vuetify: new Vuetify()
}
}); |
Sorry it took me so long to try this out, but this seems to fix the problem! Thanks for the help. |
Same problem again. But with vuetify 3. https://github.com/ozertx/vuetify-rete/blob/main/src/components/rete/ReteCustomNode.vue#L37 |
I am trying to use Vuetify.js components in my controls, but I've noticed a few weird issues. I'm not sure if this is a problem with this plugin, with Vuetify, or with my setup, but any advice would be appreciated.
Here is an example in CodePen: https://codepen.io/gollum999/pen/jONrRrj
The two primary issues I've noticed are:
Issue 1 I can hack around on a case-by-case basis, but I haven't found a solution to issue 2 (aside from never using any of the "bad" components).
I think this is related to vuetifyjs/vuetify#5096, and by extension vuetifyjs/vuetify#4068 and vuejs/vue#8278... but I only do web stuff as a hobby so most of this went over my head. It sounds like this plugin is somehow getting a different instance of
Vue
that doesn't see the global Vuetify config? Or maybe this plugin isn't registering its Vue components in the way that Vuetify expects?Again, I'm not really sure where to look here, so any help is appreciated.
The text was updated successfully, but these errors were encountered: