|
- import { lazy } from 'react';
- import Loadable from 'components/Loadable';
- const MainLayout = Loadable(lazy(() => import('layout/MainLayout')));
-
- // render - dashboard
- const TestMail = Loadable(lazy(() => import('pages/_Test/Mail')));
- // ==============================|| MAIN ROUTING ||============================== //
-
- const TestRoutes = {
- path: '/',
- element: <MainLayout />,
- children: [
- {
- path: 'test/sendMail',
- element: <TestMail/>
- },
- ]
- };
-
-
- export default TestRoutes;
|