Basepath Dynamic Not found
Hi,
I'm using React with Vite and Tanstack Router. To make use of relative paths I added this to the Vite config
base: "./". The app is served using nginx, but only renders the RootRoute component.
export const Route = createFileRoute("/")({
component: Startpage,
});
The Startpage component is not visible and I get the "Not Found". I did set the basepath to "", according to this:
https://stackoverflow.com/questions/79518008/is-there-a-way-to-define-a-base-path-that-works-with-all-subdirectories
But it seems not working. Any idea?
0 Replies