最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin2浏览0评论

i don't know why i cant use v-skeleton-loader. anytime i use the ponent the console throw me this warning : Failed to resolve ponent: 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 ponent and i put some random stuff inside my fallback template , everything works fine. i hope somebody can help me

thanks in advance

i don't know why i cant use v-skeleton-loader. anytime i use the ponent the console throw me this warning : Failed to resolve ponent: 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 ponent and i put some random stuff inside my fallback template , everything works fine. i hope somebody can help me

thanks in advance

Share Improve this question asked Feb 27, 2023 at 0:04 gsk 42gsk 42 471 silver badge6 bronze badges 4
  • 1 I take it you've e from a vuetify version 2 project since you know about skeleton loader - I believe the skeleton loader hasn't been converted to version 3 yet - the big clue to that is that it is not documented at all in vuetify version 3 documentation. – Jaromanda X Commented Feb 27, 2023 at 1:45
  • indeed there is nothing on the documentation of vuetify 3, on the other hand on the chinese documentation of vuetify we can find it vuetify.cn/en/ponents/skeleton-loaders – gsk 42 Commented Feb 27, 2023 at 7:56
  • 1 2.3.1 was released in June 2020 (the version of that documentation) so the chinee documentation is 2 and a half years out of date – Jaromanda X Commented Feb 27, 2023 at 8:03
  • Vuetify 3 is not yet production ready (and has some breaking changes). You may consider switching to Quasar 2 - it is fully patible with Vue 3. – IVO GELOV Commented Feb 27, 2023 at 8:19
Add a ment  | 

2 Answers 2

Reset to default 6

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

The skeleton loader is available in the v3.4.0 (Blackguard) version.

发布评论

评论列表(0)

  1. 暂无评论