From 511e5f3badb871a4407a1cfef2d17a8c99660d30 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 2 Dec 2023 15:54:44 +0530 Subject: added new invoice page --- src/router/index.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/router/index.ts') 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 } + }, ] }) -- cgit v1.2.3