Implement dummy Budget-Settings and extract setTitle mutation
This commit is contained in:
@ -4,6 +4,7 @@ import Dashboard from '../pages/Dashboard.vue';
|
||||
import Login from '../pages/Login.vue';
|
||||
import Register from '../pages/Register.vue';
|
||||
import Account from '../pages/Account.vue';
|
||||
import Settings from '../pages/Settings.vue';
|
||||
|
||||
const routes = [
|
||||
{ path: '/', name: 'Index', component: Dashboard },
|
||||
@ -11,6 +12,7 @@ const routes = [
|
||||
{ path: '/login', name: 'Login', component: Login },
|
||||
{ path: '/register', name: 'Register', component: Register },
|
||||
{ path: '/budget/:budgetid', name: 'Budget', components: { default: Dashboard, sidebar: BudgetSidebar }, props: true },
|
||||
{ path: '/budget/:budgetid/Settings', name: 'Budget Settings', components: { default: Settings, sidebar: BudgetSidebar }, props: true },
|
||||
{ path: '/budget/:budgetid/account/:accountid', name: 'Account', components: { default: Account, sidebar: BudgetSidebar }, props: true },
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user