existe_deja
existe_deja
NNuxt
Created by existe_deja on 3/19/2025 in #❓・help
What's the best approach to maybe redirect navigation after fetching data?
Imagine that the result of an API call give you a hint on whether the user should be redirected or not. Would you do it inside middleware? useAsyncData? Other hooks?
5 replies
NNuxt
Created by existe_deja on 3/22/2024 in #❓・help
How to avoid chunkError on new deploy?
Every new deploy replace the old one, but there is still some user navigating on the app. I know about the app:chunkError mechanism, but I want to implement the CDN way @Atinux is explaining here > https://github.com/nuxt/nuxt/issues/742#issuecomment-393773038 What's the correct approach to deal with a CDN? Should I upload my /_nuxt folder somewhere and what is the infra setup to handle them? Shoud I specify to the running app to serve them also? I think an article is the doc would help many people. related issues : experimental emitRouteChunkError https://github.com/nuxt/nuxt/issues/23612 chunkError on lazy loaded components https://github.com/nuxt/nuxt/issues/23612
3 replies