import { Home } from "../components/pages/home/Home" ; import { Setting } from "../components/pages/home/Setting" ; import { UserManagement } from "../components/pages/home/UserManagement" ; import { Page404 } from "../components/pages/Page404" ; export const homeRoutes = [ { path : "/" , exact : true , children : < Home /> } , { path : "/user_management" , exact : false , children : < UserManagement /> } , { path : "/setting" , exact : false , children : < Setting /> } , { path : "*" , exact : false , children : < Page404 /> } ] ;