Madeline
Nuxt app breaks when deployed to gitlab pages
I tried deploying my Nuxt app to gitlab pages, following these directions exactly (https://nuxt.com/deploy/gitlab), and the job succeeded and a site was generated, but there were problems: no JS was working as far as I could tell, some of the images didn't load, my separate pages didn't load the correct content, the link to the home page was broken, etc...
Now I know Nuxt prerenders everything because gitlab only supports static sites, but I guess I'm not sure what that means, practically speaking, for a Vue/Nuxt app. Does it mean I can't use things like the mounted() hook to fetch images for display on the site, for example?
Sorry if this is a silly question, I am still learning. 🙂 I just couldn't find too much on google that pertained to nuxt 3 and gitlab pages. If anyone can help me answer these questions, I'd be so happy!
1 replies