Looney
Looney
NNuxt
Created by Looney on 1/21/2024 in #❓・help
Showing A Loading Component In Nuxt SPA While Router Middleware Is Resolving
The solution in my case, was to migrate from Nuxt to a simple Vue 3 app 😅
5 replies
NNuxt
Created by Looney on 1/21/2024 in #❓・help
Showing A Loading Component In Nuxt SPA While Router Middleware Is Resolving
I have tried using the SPA loading template option in Nuxt, but that template is hidden already once the app is hydrated and not when the page loads, so this really hurts the user experience of my app, as the user just sees a blank white page while the middleware is being resolved 😦
5 replies
NNuxt
Created by Looney on 1/21/2024 in #❓・help
Showing A Loading Component In Nuxt SPA While Router Middleware Is Resolving
Update: I just tried this with a normal Vue app (without Nuxt) and it works as expected, where the loading component is rendered before the router middleware is resolved
5 replies