Files
FBSAdminTool/src/routes.js

19 lines
802 B
JavaScript
Raw Normal View History

2021-07-12 09:41:26 +05:30
import React from 'react';
const Dashboard = React.lazy(() => import('./views/dashboard/Dashboard'));
const BoxDisplacemen = React.lazy(() => import('./views/BoxDisplacemen/index'));
2021-07-20 22:11:32 +05:30
const Uploader = React.lazy(() => import('./views/Uploader/index'));
2021-07-28 17:28:25 +05:30
const Secret = React.lazy(() => import('./views/secret/index'));
const Sso = React.lazy(() => import('./views/sso/index'));
2021-07-12 09:41:26 +05:30
const routes = [
{ path: '/', exact: true, name: 'Home' },
2021-07-12 14:49:27 +05:30
{ path: '/dashboard', name: 'ダッシュボード', component: Dashboard },
{ path: '/reports', exact: true, name: 'レポート', component: BoxDisplacemen },
2021-07-20 22:11:32 +05:30
{ path: '/uploader', exact: true, name: 'アップロード', component: Uploader },
2021-07-28 17:28:25 +05:30
{ path: '/secret', exact: true, name: 'アップロード', component: Secret },
2021-07-12 09:41:26 +05:30
];
export default routes;