aboutsummaryrefslogtreecommitdiff
path: root/src/router/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/router/index.ts')
-rw-r--r--src/router/index.ts9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/router/index.ts b/src/router/index.ts
index 568bad8..7719220 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -8,6 +8,7 @@ import AllCustomers from '../views/AllCustomers.vue'
import NewCustomer from '../views/NewCustomer.vue'
import AllItems from '../views/AllItems.vue'
import NewItem from '../views/NewItem.vue'
+import NewInvoice from '../views/NewInvoice.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -59,7 +60,13 @@ const router = createRouter({
name: 'new item',
component: NewItem,
meta: { isAuth: true }
- }
+ },
+ {
+ path: '/invoice/new',
+ name: 'new invoice',
+ component: NewInvoice,
+ meta: { isAuth: true }
+ },
]
})