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

Possible to use external Vuetify? #25

Open
davidpede opened this issue Nov 18, 2021 · 1 comment
Open

Possible to use external Vuetify? #25

davidpede opened this issue Nov 18, 2021 · 1 comment

Comments

@davidpede
Copy link

Not sure if a bug or feature request but is it possible to use these renderers if Vuetify is not bundled in the build?

We have Vue 2.6.14 and Vuetify 2.6.0 already available to the page so are trying to set them as externals in webpack:

externals: {
            vue: 'Vue',
            vuetify: 'Vuetify',
            'vuetify/lib': 'Vuetify'
        }

No errors in the build but console shows:

lib.main.js:2916 [Vue warn]: Unknown custom element: <v-container> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
lib.main.js:2916 [Vue warn]: Unknown custom element: <v-row> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
lib.main.js:2916 [Vue warn]: Unknown custom element: <v-col> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
lib.main.js:2916 [Vue warn]: Unknown custom element: <v-container> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
lib.main.js:2916 [Vue warn]: Unknown custom element: <v-row> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
lib.main.js:2916 [Vue warn]: Unknown custom element: <v-col> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
lib.main.js:2916 [Vue warn]: Unknown custom element: <v-hover> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
lib.main.js:2916 [Vue warn]: Unknown custom element: <v-col> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

etc etc

Works perfectly if I remove the 'vuetify/lib': 'Vuetify' part, but then Vuetify is compiled in the bundle.

Should this be possible and if not could it be?

@sdirix
Copy link
Member

sdirix commented Dec 14, 2021

Can you explain in more detail what the issue is? We don't bundle Vue or Vuetify so there should be no problem for you.

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

2 participants