Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
April 14, 2022 12:12 am GMT

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:

_redirects

/* /index.html 200

Here you can see the file in my repository:

https://github.com/JorgeMadson/englishonlinegames/blob/main/public/_redirects


Original Link: https://dev.to/jorgemadson/easiest-way-to-fix-navegation-erorr-usign-netlify-4m4a

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To