|
- import { lazy } from 'react';
-
- // project import
- import Loadable from 'components/Loadable';
- import MainLayout from "../layout/MainLayout";
-
- // render - login
- const SettingPage = Loadable(lazy(() => import('pages/pnspsSettingPage')));
- const PasswordPolicyPage = Loadable(lazy(()=> import('pages/pnspsPasswordPolicyPage')))
- const UserSettingPage = Loadable(lazy(()=>import ('pages/pnspsUserSettingPage/')));
- const UserGroupSearchPage = Loadable(lazy(() => import('pages/pnspsUserGroupSearchPage')));
- const UserSearchPage = Loadable(lazy(()=>import ('pages/pnspsUserSearchPage')));
- const UserMaintainPage = Loadable(lazy(() => import('pages/pnspsUserDetailPage')));
-
- // ==============================|| AUTH ROUTING ||============================== //
-
- const SettingRoutes = {
- path: '/',
- element: <MainLayout />,
- children: [
- {
- path: 'usergroupSearchview',
- element: <UserGroupSearchPage />
- },
- {
- path: '/user/:id',
- element: <UserMaintainPage />
- },
- {
- path: 'userSearchview',
- element: <UserSearchPage />
- },
- {
- path: 'usersetting',
- element: <UserSettingPage />
- },
- {
- path: 'setting',
- element: <SettingPage />
- },
- {
- path: 'passwordpolicy',
- element: <PasswordPolicyPage />
- }
- ]
- };
-
- export default SettingRoutes;
|