For react apps the route specific components are not rendering. Seems like as the URL changes in the URL bar, the nutria system is trying to render a HTML file instead of react component. I tried the below react rotuer config but the component doesn't render.
export const AppRouter = createBrowserRouter(
[
{
path: "dist/index",
element: <Home />,
},
{
path: "dist/about",
element: <About />,
},
{
path: "dist/contact",
element: <Contact />,
},
]
);