Answer the question
In order to leave comments, you need to log in
How to set up hosting under vue-router?
I have a SPA without a back, but with a vue router
It has several routes, including dynamic
ones
. " - throws 404
The vue router documentation describes various solutions, but the hosting does not allow editing nginx / apache , how to solve this issue?
Here is a link to the off-doc
https://router.vuejs.org/ru/guide/essentials/histo...
Maybe I misunderstood something
Answer the question
In order to leave comments, you need to log in
Create a .htaccess file at the root and write in it what is in the apache dock. If it doesn't work, ask your hoster how to redirect all requests to your application entry point.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question