Reputation: 2095
I have four projects.
First, Its called Portal and have some logical components. And the others manage other things.
Each of them has its own routes, but I would like to create a higher o superior routes to nav between all of them.
How can create that path to access to each project I dont have the component??
For example,
I want in one path have:
/portal
/login
/home
/error
/project1
/project2
/project3
This will be in portal, but in portal I dont have a Component called roject1.
<Route exact path="/project1" component={Project1} />
How can create that path to access to each project I dont have the component?? Or I should create it and make a redirect to Project1??
Thanks
Upvotes: 2
Views: 108