Nuxt warning when adding v-if="appReady" to app.vue
My nuxt app is heavily reliant on data that comes from my db and some external sources, so I want to add a spinner/progress component until the necessary data is fetched. Right, now, I'm using this:
appReady
is simply a ref that gets set to true
in my onMounted
hook whenever the required data is present.
I ran into the problem that nuxt always throws a <NuxtPage> or <NuxtLayout> warning depending on which element I add the v-if="appReady"
check to:
I was wondering what is the "correct" way of doing that?1 Reply
You can ignore that for now 🙂