Files
bigcapital/client/src/routes/authentication.js
2020-10-07 19:58:43 +02:00

43 lines
1022 B
JavaScript

import LazyLoader from 'components/LazyLoader';
const BASE_URL = '/auth';
export default [
{
path: `${BASE_URL}/login`,
component: LazyLoader({
loader: () => import('containers/Authentication/Login'),
}),
},
{
path: `${BASE_URL}/register`,
component: LazyLoader({
loader: () => import('containers/Authentication/Register'),
}),
},
{
path: `${BASE_URL}/send_reset_password`,
component: LazyLoader({
loader: () => import('containers/Authentication/SendResetPassword'),
}),
},
{
path: `${BASE_URL}/reset_password/:token`,
component: LazyLoader({
loader: () => import('containers/Authentication/ResetPassword'),
}),
},
{
path: `${BASE_URL}/invite/:token/accept`,
component: LazyLoader({
loader: () => import('containers/Authentication/InviteAccept'),
}),
},
{
path: `${BASE_URL}/wizard`,
component: LazyLoader({
loader: () => import('containers/Authentication/RegisterWizardPage'),
}),
},
];