DEV Community 👩‍💻👨‍💻

Jorge Madson
Jorge Madson

Posted on

Easiest way to fix navegation error usign Netlify

Netlify 404 error print screen
So I developed the English Online Games to learn some Vuejs and SPA development, I was proud of my work so published it in Netlify but as soon it ran I got an error.
After searching a lot, I find this much complicated and the easiest way to fix it is by creating a file name "_redirects" in your public folder, like this:


/* /index.html 200
Enter fullscreen mode Exit fullscreen mode

Here you can see the file in my repository:

Top comments (0)

Hey 😍

Want to help the DEV Community feel more like a community?

Head over to the Welcome Thread and greet some new community members!

It only takes a minute of your time, and goes a long way!