Router base problem when using hot reloading
rusia last edited by rusia
I develop my app with hot reload but not on localhost but on a domain.
To do so I just load the script with
<base href="https://localhost:8080/">to my html loaded from the server.
Everything went well until I wanted to use vue router. I expected that
this.$router.push('somepage')will push me to
But instead it sends me to
I tried to edit router/index.js and changed
Now it sends me to
Anybody can help?