WIP Frontend structure & authentication.

This commit is contained in:
Ahmed Bouhuolia
2020-02-17 00:15:07 +02:00
parent b3849e55e9
commit e5c78fe555
56 changed files with 3539 additions and 322 deletions

View File

@@ -1,14 +1,19 @@
import Login from '../pages/Authentication/Login';
import ResetPassword from '../pages/Authentication/ResetPassword';
import Login from 'containers/Authentication/Login';
import ResetPassword from 'containers/Authentication/ResetPassword';
export default [
// {
// path: '/',
// exact: true,
// component: Login,
// },
{
path: '/login',
path: '/auth/login',
exact: true,
component: Login,
},
{
path: '/reset_password',
path: '/auth/reset_password',
exact: true,
component: ResetPassword,
}

View File

@@ -1,11 +1,18 @@
import AccountsChart from '../pages/Dashboard/AccountsChart';
import Homepage from "containers/Dashboard/Homepage";
// import AccountsChart from 'pages/Dashboard/AccountsChart';
export default [
{
path: '/accounts/list',
component: AccountsChart,
icon: 'cut',
text: 'Chart of Accounts',
label: 'Chart of Accounts'
path: '/homepage',
component: Homepage,
exact: true,
},
// {
// path: '/accounts/list',
// component: AccountsChart,
// icon: 'cut',
// text: 'Chart of Accounts',
// label: 'Chart of Accounts'
// },
];