I have a dashboard Reactify and I want to integrate it into my reactjs app with create-react-app.
I want to redirect to the dashboard from my application with the route /admin
.
How can I fix that ?
I have a dashboard Reactify and I want to integrate it into my reactjs app with create-react-app.
I want to redirect to the dashboard from my application with the route /admin
.
How can I fix that ?
Copyright © 2021 Jogjafile Inc.
First of all i hope you are using 'react-router-dom' package for routing. if yes, you can import your dashboard component and use it inside the Router tag to route to the dashboard.
for example:
to learn the basics, checkout the documentation for react-router-dom
Hope this would be helpful!