How to fix routes in Vue apps deployed with Netlify
- Create a file named
- Within that file write this:
- /* /index.html 200
- Deploy your app. Your routes should work now.
What's happening is that we are not letting the Vue Router manage our routes. With this file we are saying "hey all routes should go to index.html" which is where our App lives :)
Have a good day ✌✌