jonashackt/spring-boot-vuejs

Page refresh

haroldlenoble opened this issue · 1 comments

Hi Jonas,

Hope you're going well.

When implementing vuejs & spring boot application, I got an issue. Vue route handle route with history mode so it is very simple to navigate on nodejs server and when you refresh or reload a page on the browser it works.

But when the frontend is running on tomcat or heroku, route are handle by spring boot not by Vue route. Then if you try to refresh or reload a route on your browser, you'll got a 404 error (Not found). try here https://spring-boot-vuejs.herokuapp.com/user

404

So do you know how to handle the refresh or reload action ?

Oh, this subject have already being discussed