score:0

import App from "./App";
import User from "./components/UserManagment/Users";
import Agents from "./components/UserManagment/Agents";
import Usertable from "./components/Usertable";
import Usertopbar from "./components/Usertopbar";
import { BrowserRouter, Switch, Route } from "react-router-dom";
import UserRole from "./components/UserManagment/UserRole";
import Suppliers from "./components/Contact/Suppliers";
import Group from "./components/Contact/Group";
import Mod from "./components/Model";
import Custom from "./components/Contact/Custom";
import Contactmodel from "./components/Contact/Contactmodel";
import Login from "./components/Rm.live/Login";
import Signup from "./components/Rm.live/Signup";
import Rmtable from "./components/Rm.live/rm/Rmtable";
import Blogin from "./components/Bootstrap/Login";
import RmSkills from "./components/Rm.live/rm/RmSkills";
export const Routes = () => {
  return (
    <>
      <BrowserRouter basename={process.env.PUBLIC_URL}>
      <Switch>
        <Route path="/agents" component={Agents} exact />

        <Route patch="/rmskills" component={RmSkills} exact />
        <Route patch="/rmtable" component={Rmtable} exact />
        <Route path="/Blogin" component={Blogin} exact />
        <Route path="/login" component={Login} />
        <Route path="/signup" component={Signup} />
        <Route path="/user" component={User} exact />

        <Route path="/userrole" component={UserRole} exact />
        <Route path="/usertable" component={Usertable} exact />
        <Route path="/usertopbar" component={Usertopbar} exact />
        <Route path="/mod" component={Mod} exact />
        <Route Path="/custom" component={Custom} />

        <Route path="/group" component={Group} exact />
        <Route Path="/contactmodel" component={Contactmodel} />

        <Route path="/suppliers" component={Suppliers} exact />

        <Route path="/" component={App} exact />
      </Switch>
      </BrowserRouter>
    </>
  );
};
export default Routes;

Related Query

More Query from same tag