EGGSY
EGGSY
NNuxt
Created by EGGSY on 1/18/2025 in #❓・help
Nuxt Content didn't deploy to Netlify, static generation broke my server routes, I fixed all tho.
Hey! I've been working for a while to move my old website from Nuxt 2 to Nuxt 3 completely, rewriting every component and reworking on all the modules, scripts, functions I have. I recently completed the move and everything seemed to be working fine until I deployed my app on Netlify... At first I tried a static generation but then I realized I should be using a normal build as Nitro can deploy to Netlify quite well. But then I realized the posts won't load during SSR for some reason. I couldn't reproduce on my local machine when running the project in dev mode but then I decided to set { server: false } in my useAsyncData and realized it doesn't work... It works when I move from another page to that page but it doesn't work when I refresh the page, so I think it has something to do with Netlfiy and SSR in Nuxt. I couldn't find a related issue on GitHub issues, nor here. Maybe I missed it but could anyone point it out to me? My code is available on GitHub: https://github.com/eggsy/website/blob/main/pages/blog/index.vue#L9 And the page is online at: https://eggsy.xyz/blog
6 replies