Multiple layouts using `Router`
Hi, I cant figure out how to do nested layouts like this
The issue with this setup is that I get an error from root={DashboardLayout} and I see the 404 page an the , probably because Router is used twice
I don't know how to implement this without using Router twice, and how to prevent the error
4 Replies
Use a single
Router
with nested Route
components
The component for Route, doesnt work
can you elaborate?
I solved the issue now, I think it had something to do with my styling, so it did work but I couldn’t see it
Thanks for the help though, much appreciated