I'm doing the following:
- Production Build: npm run generate
- I copy the dist folder into the Tomcat Webapps, and it works fine
- Whenever I refresh a dynamic route, it shows 404
URLs that work:
https://ip:port/entryPath/dashboard/user
URLs that don't work:
https://ip:port/entryPath/dashboard/user/123
https://ip:port/entryPath/dashboard/user/123/settings
https://ip:port/entryPath/dashboard/user/123/privacy
I want to be able to share an URL such as:
https://ip:port/entryPath/dashboard/user/123/activity
So other users just clicking the URL should be directly able to access it. But it just ends up with a 404, no matter where I deploy.
Please Note:
My intention is to deploy the dist folder contents on Tomcat webapps folder.