25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

50 satır
1.2 KiB

  1. import { lazy } from 'react';
  2. // project import
  3. import Loadable from 'components/Loadable';
  4. // import MainLayout from 'layout/MainLayout';
  5. const MainLayout = Loadable(lazy(() => import('layout/MainLayout')));
  6. // render - dashboard
  7. // render - sample page
  8. const SamplePage = Loadable(lazy(() => import('pages/extra-pages/SamplePage')));
  9. // render - utilities
  10. const Typography = Loadable(lazy(() => import('pages/components-overview/Typography')));
  11. const Color = Loadable(lazy(() => import('pages/components-overview/Color')));
  12. const Shadow = Loadable(lazy(() => import('pages/components-overview/Shadow')));
  13. const AntIcons = Loadable(lazy(() => import('pages/components-overview/AntIcons')));
  14. // ==============================|| MAIN ROUTING ||============================== //
  15. const MainRoutes = {
  16. path: '/',
  17. element: <MainLayout />,
  18. children: [
  19. {
  20. path: 'color',
  21. element: <Color />
  22. },
  23. {
  24. path: 'sample-page',
  25. element: <SamplePage />
  26. },
  27. {
  28. path: 'shadow',
  29. element: <Shadow />
  30. },
  31. {
  32. path: 'typography',
  33. element: <Typography />
  34. },
  35. {
  36. path: 'icons/ant',
  37. element: <AntIcons />
  38. }
  39. ]
  40. };
  41. export default MainRoutes;