后台教程

This commit is contained in:
xuyue committed 2025-03-03 22:11:01 +08:00
1 parent f01f8a174d
commit a7d8663f4d
9 files changed
+235 -22

No files matched your search

+8 -1
View File
@@ -4,12 +4,19 @@ import { loginModal } from "./store/modal"
import Home from "./pages/Home.vue"
const routes = [
{ path: "/", component: Home },
{ path: "/", name: "home", component: Home },
{
path: "/dashboard",
name: "dashboard",
component: () => import("./pages/Dashboard.vue"),
meta: { auth: true },
children: [
{
path: "tutorial",
name: "tutorial",
component: () => import("./pages/Markdown.vue"),
},
],
},
]