vuetify-extra
vuetify-extra copied to clipboard
Vuetify component not detected when come from vuetify-extra library
Hello,
I created a new vue project and install vuetify and vuetify-extra. I imported vuetify and vuetify-extra in the main.js like the documentation.
If I put a vuetify component like v-card or v-btn in a vue, I can see it without error. The v-card is registered. If I put a vuetify-extra component like CardPage, in a vue, I can see the CardPage component (it is registered) but all the vuetify components inside vuetify-extra component are not detected.
How can I resolve that ? I don't see what is missing ?
Exemple of error only with vuetify-extra :
[Vue warn]: Unknown custom element:
found in
---> <SimpleTitle> <CardPage> <App> at src/App.vue <Root>
vuetify-extra
Hi @fabien44300 , what is your vuetify and vuetify-extra version? Can you share with me a code example?
Thanks L.
Hello,
My versions : @menteora/vuetify-extra : 1.0.0-beta.0 vuetify : 2.5.3
My code
Main.js
import App from './App.vue'
import Vue from 'vue'
import vuetify from './plugins/vuetify';
import VuetifyExtra from '@menteora/vuetify-extra'
Vue.use(VuetifyExtra)
Vue.config.productionTip = false
new Vue({
vuetify,
render: h => h(App),
}).$mount('#app')
App.vue
<template>
<v-app>
<v-btn color="primary">test</v-btn>
<v-card>
<v-card-title>titre vcard</v-card-title>
<v-card-text>
blablablab
</v-card-text>
</v-card>
<CardPage></CardPage>
</v-app>
</template>
Hi, sorry I introduced bug in latest version.
Use version 0.3.2.
I will investigate why latest version doesn't work.
Thanks for reporting.