12345678910111213141516171819202122232425 |
- import { lazy } from 'react';
- export const ROUTES = [
- {
- id: 0,
- exact: true,
- private: true,
- path: '/',
- component: lazy(() => import('./main')),
- },
- {
- id: 1,
- exact: true,
- private: false,
- path: '/auth',
- component: lazy(() => import('./auth')),
- },
- {
- id: 2,
- exact: true,
- private: false,
- path: '/register',
- component: lazy(() => import('./register')),
- },
- ]
|