use composables.

This commit is contained in:
2023-01-14 20:47:26 +08:00
parent d3caa5438d
commit b568539610
17 changed files with 47 additions and 71 deletions

View File

@@ -40,13 +40,12 @@ export const routes = [
path: "rank",
component: () => import("oj/rank/list.vue"),
},
{
path: "learn",
component: () => import("learn/index.vue"),
},
],
},
{
path: "/learn",
component: () => import("~/shared/layout/default.vue"),
children: [{ path: "", component: () => import("learn/index.vue") }],
},
{
path: "/admin",
component: () => import("~/shared/layout/admin.vue"),