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.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/router/index.ts b/src/router/index.ts
index 7719220..55e2070 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -9,6 +9,7 @@ import NewCustomer from '../views/NewCustomer.vue'
import AllItems from '../views/AllItems.vue'
import NewItem from '../views/NewItem.vue'
import NewInvoice from '../views/NewInvoice.vue'
+import EditInvoice from '../views/EditInvoice.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -67,6 +68,12 @@ const router = createRouter({
component: NewInvoice,
meta: { isAuth: true }
},
+ {
+ path: '/invoice/edit-draft/:id',
+ name: 'edit-draft',
+ component: EditInvoice,
+ meta: { isAuth: true }
+ },
]
})