Hello everyone I'm working on a project that uses nuxt js and I'm just new to this framework. I've configured it to use spa mode, fyi I did not change or add anything in my nuxt config just the default. And below is how I've setup my pages.
pages/users/index.vue - shows list or users
pages/users/_id.vue - show specific user
I've deployed my project using npm run build and npm run start command. The dist directory is then hosted in a nginx server.
The issue is that when i navigate to /user/id using nuxt link the page is rendered properly, but when I access the page url directly or refresh the page I get nginx 404 page not found.
I've read about nuxt generate to generate pre rendered pages but is this good to use when dealing on hundreds of records?
Any help, advice, would be much appriciated.
Thanks