Just started using Nuxt, and I love it so far. I just have one specific issue, I'm using prismic.io as headless CMS for my personal page. I have a few pages and a "blog" page. I'm having an issue when navigating to the blog route, it returns page not found. Now, it's kind of odd because it's working perfectly in my local host, it's just behaving that way when deployed.
Site's being deployed on Netlify.
I already tried switching the route's links and building the project on my local machine and it's working like charm.
Link to site: https://wonderful-gates-27a024.netlify.com/
This is my file structure for the pages:
Pages/
-- blog/
---- _uid.vue
-- About.vue
-- Blog.vue
-- Contact.vue
-- Works.vue
-- index.vue
Steps to replicate the issue
- Navigate to about
- Navigate to contact
- Navigate to blog (Sometimes the error shows on this step)
- Click on an article
- Navigate back to the blog (here it should display not found)
Steps to navigate back to blog after the error shows up:
- On the url bar, paste wonderful-gates-27a024.netlify.com/blog and hit enter.
I'm getting page not found error