Hi,
In the React demo1 of Metronic version 8.1.0 there is a Profile module. This is the URL for it:
http://localhost:3011/metronic8/react/demo1/crafted/pages/profile/overview
When I go to Projects:
http://localhost:3011/metronic8/react/demo1/crafted/pages/profile/projects
I see a grid of projects nicely displayed as card components.
What I would like to do is:
http://localhost:3011/metronic8/react/demo1/crafted/pages/profile/projects/1
and also display a new project details component where the grid list is positioned.
How do I need to configure React Router in order for this to work? Could you please provide a simple example?
I tried experimenting with
Routes,
Route,
Outletand
Link. I also consulted the React Router docs. But to be honest, I'm new to React Router and pretty confused about how all the pieces work together and should be configured and laid out in my layout.
Hi,
Thank you for reaching out to us.
You can create your link path dynamically as shown below:
...
Regards, Lauris Stepanovs, Keenthemes Support Team