vuetify-extra icon indicating copy to clipboard operation
vuetify-extra copied to clipboard

Vuetify component not detected when come from vuetify-extra library

Open fabien44300 opened this issue 3 years ago • 3 comments

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

---> <SimpleTitle> <CardPage> <App> at src/App.vue <Root>

vuetify-extra

fabien44300 avatar Jun 08 '21 14:06 fabien44300

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

Thanks L.

menteora avatar Jun 09 '21 21:06 menteora

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>

fabien44300 avatar Jun 10 '21 09:06 fabien44300

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.

menteora avatar Jun 11 '21 16:06 menteora