dist/Index.html shows route not found after vite build in dist folder
Hi after i run vite build, and try to load index.html with live server, the __root folder will load properly with all the components(including outlet component), however outlet component will just show the defaultNotFoundComponent defined in the createRouter, if i set the defaultNotFoundComponent as a <Link/> element to other routes, it will load the route properly. what should i do to get the outlet to load the route properly when the webpage first loads from index.html?
the defaultNotFoundComponent, the Link works perfectly to load the route:
the defaultNotFoundComponent, the Link works perfectly to load the route:

