Implement dummy Budget-Settings and extract setTitle mutation

This commit is contained in:
2022-01-25 20:40:00 +00:00
parent 74c4c7cb02
commit ffed94f586
5 changed files with 9 additions and 13 deletions

View File

@ -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 },
]