💄 Better speed dial

This commit is contained in:
2024-03-30 20:08:39 +08:00
parent c616214c3b
commit e986ff8c5f
5 changed files with 141 additions and 41 deletions

View File

@@ -10,25 +10,42 @@ const router = createRouter({
children: [
{
path: "/",
name: "explore",
component: () => import("@/views/explore.vue")
component: () => import("@/layouts/plaza.vue"),
children: [
{
path: "/",
name: "explore",
component: () => import("@/views/explore.vue")
},
{
path: "/p/moments/:alias",
name: "posts.details.moments",
component: () => import("@/views/posts/moments.vue")
},
{
path: "/p/articles/:alias",
name: "posts.details.articles",
component: () => import("@/views/posts/articles.vue")
},
{
path: "/realms/:realmId",
name: "realms.page",
component: () => import("@/views/realms/page.vue")
}
]
},
{
path: "/p/moments/:alias",
name: "posts.details.moments",
component: () => import("@/views/posts/moments.vue")
},
{
path: "/p/articles/:alias",
name: "posts.details.articles",
component: () => import("@/views/posts/articles.vue")
},
{
path: "/realms/:realmId",
name: "realms.page",
component: () => import("@/views/realms/page.vue")
path: "/chat",
children: [
{
path: ":channel",
name: "chat.channel",
component: () => import("@/views/chat/channel.vue")
}
]
},
{