menteora / vuetify-extra

Vuetify common bundle of components
https://menteora.github.io/vuetify-extra/
MIT License
24 stars 6 forks source link

Vuetify component not detected when come from vuetify-extra library #19

Open fabien44300 opened 3 years ago

fabien44300 commented 3 years ago

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: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

--->

at src/App.vue vuetify-extra
menteora commented 3 years ago

Hi @fabien44300 , what is your vuetify and vuetify-extra version? Can you share with me a code example?

Thanks L.

fabien44300 commented 3 years ago

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>
menteora commented 3 years ago

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.