Basic chat layouts

This commit is contained in:
2024-03-30 21:26:22 +08:00
parent 05e8782557
commit 8bb9816cd0
9 changed files with 199 additions and 13 deletions

View File

@@ -38,12 +38,13 @@ const router = createRouter({
},
{
path: "/chat",
path: "/chat/:channel",
component: () => import("@/layouts/chat.vue"),
children: [
{
path: ":channel",
path: "",
name: "chat.channel",
component: () => import("@/views/chat/channel.vue")
component: () => import("@/views/chat/page.vue"),
}
]
},