Answer the question
In order to leave comments, you need to log in
When refreshing the page gives 404, how to fix the route in VueJs2?
Hello!
After compilation, I got build.js, put the site on the server ... everything works as it should, but the problem is that if I go to the url (for example) site.com/users, a list of users is displayed, but if I just refresh this page, I get a 404 error. ..
question: is it true? Or did I write something wrong? and can it be fixed?
I'm still a novice,
how can I fix this one so that when I update, I also get to that page?
Answer the question
In order to leave comments, you need to log in
I think you should read this: https://router.vuejs.org/en/essentials/history-mod...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question