41 lines
1.1 KiB
JavaScript
41 lines
1.1 KiB
JavaScript
import BranchView from '../views/falukant/BranchView.vue';
|
|
import Createview from '../views/falukant/CreateView.vue';
|
|
import FalukantOverviewView from '../views/falukant/OverviewView.vue';
|
|
import MoneyHistoryView from '../views/falukant/MoneyHistoryView.vue';
|
|
import FamilyView from '../views/falukant/FamilyView.vue';
|
|
|
|
const falukantRoutes = [
|
|
{
|
|
path: '/falukant/create',
|
|
name: 'FalukantCreate',
|
|
component: Createview,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/falukant/home',
|
|
name: 'FalukantOverview',
|
|
component: FalukantOverviewView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
{
|
|
path: '/falukant/branch/:branchId?',
|
|
name: 'BranchView',
|
|
component: BranchView,
|
|
meta: { requiresAuth: true },
|
|
},
|
|
{
|
|
path: '/falukant/moneyhistory',
|
|
name: 'MoneyHistoryView',
|
|
component: MoneyHistoryView,
|
|
meta: { requiresAuth: true },
|
|
},
|
|
{
|
|
path: '/falukant/family',
|
|
name: 'FalukantFamily',
|
|
component: FamilyView,
|
|
meta: { requiresAuth: true }
|
|
},
|
|
];
|
|
|
|
export default falukantRoutes;
|