TASKS-1823 WebManager module

This commit is contained in:
Igor Martyniuk
2026-08-28 08:35:58 +00:00
parent fdb2cf3837
commit c93d8c025b
654 changed files with 26232 additions and 6075 deletions
@@ -0,0 +1,30 @@
/**
* Handles all module related routes.
* This component is mounted at /[moduleName]/* in the main application router.
*/
import { Navigate } from 'react-router-dom';
import ListPage from '../pages/ListPage';
import Layout from '../view/layouts/Layout';
import { MODULE_ROOT_PATH } from './meta';
export default {
path: MODULE_ROOT_PATH,
children: [
{ index: true, element: <Navigate to="list" replace /> },
{
path: `${MODULE_ROOT_PATH}/*`,
element: <Navigate to="/error/404" replace />
},
{
path: '',
element: <Layout />,
children: [
{
path: 'list',
element: <ListPage />
}
]
}
]
};