patched url
This commit is contained in:
1 parent
9ab624106c
commit
b2879217f9
1 file changed
+1
-1
@@ -4,7 +4,7 @@ const router = createRouter({
|
|||||||
history: createWebHistory(import.meta.env.BASE_URL),
|
history: createWebHistory(import.meta.env.BASE_URL),
|
||||||
routes: [
|
routes: [
|
||||||
{
|
{
|
||||||
path: '/:id(\\d)?',
|
path: '/:id(\\d*)?',
|
||||||
name: 'home',
|
name: 'home',
|
||||||
component: () => import('../components/Home.vue')
|
component: () => import('../components/Home.vue')
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user