Josepdal | Stakely
Josepdal | Stakely
NNuxt
Created by Josepdal | Stakely on 10/21/2024 in #❓・help
Scroll jump when navigating between pages
cc: @alex @broberto
2 replies
NNuxt
Created by Josepdal | Stakely on 6/12/2024 in #❓・help
navigateTo() not working on server side
Solved wrapping everything with v-if useAsyncData var 👍
6 replies
NNuxt
Created by Josepdal | Stakely on 6/12/2024 in #❓・help
navigateTo() not working on server side
I do not know if there is another way to do it. In my case the API returns me that a route has changed its name, it gives me the new one and I have to redirect the user to the new page with a 301. Then navigateTo is not working on server side but it works when navigating on the client to the same route.
6 replies
NNuxt
Created by Josepdal | Stakely on 6/12/2024 in #❓・help
navigateTo() not working on server side
As far as I understand, Nuxt is trying to render DOM elements on server side, but, should it try to render them before the useAsyncData loads and the redirection is done?
6 replies
NNuxt
Created by Josepdal | Stakely on 6/12/2024 in #❓・help
navigateTo() not working on server side
6 replies