aboutsummaryrefslogtreecommitdiff
path: root/src/router/index.ts
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-02 15:54:44 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-12-02 15:54:44 +0530
commit511e5f3badb871a4407a1cfef2d17a8c99660d30 (patch)
tree8542fa15620c5e671b3e42e6bb3b0ad50635ed39 /src/router/index.ts
parente60be6e3bd64abf11a4995a07c98bb875bae0134 (diff)
added new invoice page
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 }
+ },
]
})