后台教程

This commit is contained in:
2025-03-03 22:11:01 +08:00
parent f01f8a174d
commit a7d8663f4d
9 changed files with 235 additions and 22 deletions

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"),
},
],
},
]