I have one problem on my nuxt.js project.
I create dynamic page like https://samplesite.com/place/{place_id}
which place_id dynamic value. (I have around 4,000+ places in my database)
after I run npm run generate
and get /dist folder, then I push this folder to amazon EC2.
Everything work well, when I click a like on index page to /place/{place_id} page, website show place information.
But when I push refresh button on web browser, the page /place/{place_id} show 404 not found.
Do you have any solution to fix this problem?
I read on nuxt.js website, they said I need to generate dynamic page but my place is about 4,000 places, I think it's impossible to generate all of place page.
Please tell me what should I do.
npm run build
of Vue CLI. Also, it happens with dinamyc and statics routes, the only one route that i can reload is the index. I uploaded it on an Apache server in Azure. Hope you can help me.