I’m trying to solve the usual issue with SPA apps: when clicking on links in my navbar, I am not routed to my components and get the dreaded “Page Not Found
Looks like you’ve followed a broken link or entered a URL that doesn’t exist on this site.”
To this end, I want to start troubleshooting this by adding the _redirects file to my published directory. I have added _redirects to the root directory of my project (where index.html lives) and I get the following build message : ‘A “_redirects” file is present in the repository but is missing in the publish directory “dist”.’ I have moved _redirects to other directories in my repository, but in these cases, it is not noticed at all. How can I get this file into my published directory (“dist”) on Netlify? Do I need to create a special directory in my project? Thanks!
Site: https://main--lisflix-2022.netlify.app/
Full deploy log: Netlify App
Deploy Settings: Netlify App