diff --git a/src/router/index.js b/src/router/index.js index efa1c1b..2f21fc7 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -140,7 +140,19 @@ const router = createRouter({ meta: { requiresAuth: true }, }, { - path: '/account/wallets/:id', + path: '/account/wallets/new', + name: 'account-wallet-new', + component: () => import('../views/account/WalletFormView.vue'), + meta: { requiresAuth: true }, + }, + { + path: '/account/wallets/:id(\\d+)/edit', + name: 'account-wallet-edit', + component: () => import('../views/account/WalletFormView.vue'), + meta: { requiresAuth: true }, + }, + { + path: '/account/wallets/:id(\\d+)', name: 'account-wallet-detail', component: () => import('../views/account/AccountWalletDetailView.vue'), meta: { requiresAuth: true }, diff --git a/src/views/account/AccountWalletView.vue b/src/views/account/AccountWalletView.vue index b5d0e96..b9f0f0b 100644 --- a/src/views/account/AccountWalletView.vue +++ b/src/views/account/AccountWalletView.vue @@ -1,12 +1,11 @@ + + + +