From 93697b3cb6d34ecb1033f03c933e7217a85c3d38 Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Wed, 5 Jul 2023 18:47:50 -0400 Subject: [PATCH] Adjust routes --- web/src/router/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/router/index.ts b/web/src/router/index.ts index 7c65776..ee55a64 100644 --- a/web/src/router/index.ts +++ b/web/src/router/index.ts @@ -19,7 +19,7 @@ const routes = [ component: () => import('@/layouts/default/Default.vue'), children: [ { - path: 'home', + path: '', name: 'Home', // route level code-splitting // this generates a separate chunk (about.[hash].js) for this route @@ -37,7 +37,7 @@ const routes = [ ] }, { - path: '/:serialNumber', + path: '/printer/:serialNumber', component: () => import('@/layouts/single/Default.vue'), children: [ {