Access routes other than route leads to cannot get route
Hi, I have my file-based routes like this the screenshot
If I try navigating from root to
The issue happens with the build. I ran
I try adding a notFoundComponent, it was not able to load this component as well.
Any ideas? Thank you in advance!
If I try navigating from root to
/raffle-details/$id, or reload that page, it'd work normally in dev server (vite).The issue happens with the build. I ran
live-server and it was able to open the root route, then the details route. But if I access the details route directly, or reload that page, I'll get Cannot get page (screenshot).I try adding a notFoundComponent, it was not able to load this component as well.
Any ideas? Thank you in advance!


