I recently deployed an application in netlify.
I used the
npm run dev build command and
__sapper__/export, as I have with another sapper project deployed on netlify.
My issues are the following…
Routes do no work. What I mean is, I can click a nav link, and the browser will load that nav link into the browser url search bar, however, the page never redirects. If, after clicking a nav link, and I see it in my url browser, refreshing will result in seeing the desired page.
I have one route that is not in the nav bar, and when trying to visit that route by manually entering it into my browser, I get a “page not found” netlify error page.
My application works fine locally, but the routing it not working here. What is weird is that I do not see why the route that isn’t in my Nav bar would be broken when trying to navigate to it.
I have seen others ask similar questions but I can’t seem to fix the issue.