I have the following routeConfig.
[
{
path: '/test',
Component: () => <p>Test</p>,
},
{
path: '/test2',
Component: () => <p>Test2</p>,
},
]
I have an example here https://stackblitz.com/edit/react-ts-vzxs8c
https://react-ts-vzxs8c.stackblitz.io/test
https://react-ts-vzxs8c.stackblitz.io/ Gives me 404, but it is matching / App right then why it is giving a not found page? We should pass not found to the App instead?
If I want to configure it in this way what should I do?