feat: home view and list per url
This commit is contained in:
@@ -7,7 +7,7 @@ const router = createRouter({
|
||||
history: createWebHistory(),
|
||||
routes: [
|
||||
{ path: "/", component: HomeView },
|
||||
{ path: "/:pathMatch([\\w-]+)", component: ListView },
|
||||
{ path: "/:list", component: ListView },
|
||||
{ path: "/:pathMatch(.*)", component: NotFoundView },
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user