javascriptvue.jsvuetify.jsvue-suspense

Why i can't use v-skeleton-loader with vuetify


i don't know why i cant use v-skeleton-loader. anytime i use the component the console throw me this warning : Failed to resolve component: v-skeleton-loader.

i use vuetify": 3.1.4


<Suspense>
          <template #default>
            <boutique_data />
          </template>
          <template #fallback>
            <v-sheet class="px-3 pt-3 pb-3">
              <v-skeleton-loader type="table" :loading="true"></v-skeleton-loader>
            </v-sheet>
          </template>

</Suspense> 

when i remove the component and i put some random stuff inside my fallback template , everything works fine. i hope somebody can help me

thanks in advance


Solution

  • v-skeleton-loader is available for v3.1.13+ and we should import it from Labs.