1
I developed an application in Vue, managed the folder dist for production and managed to publish it using Tomcat. In this case I played the dist folder generated in the /webapps/helloWorld folder.
I can access through the link
http://localhost:8080/helloWorld
so far so good. The problem is that the
/helloWorld
only works for the first access, it does not stay as pre-fixed link. It is so much that after the first access the link is like this:
http://localhost:8080/login
In case I want to go to screen home I was supposed to type
http://localhost:8080/helloWorld/home
But it doesn’t work, it just works like this:
http://localhost:8080/home
How do I leave the /helloWorld/ as pre-fixed on all routes?