diff --git a/components.d.ts b/components.d.ts
index 5f8f7abf..eff9cd4f 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -11,6 +11,9 @@ declare module '@vue/runtime-core' {
export interface GlobalComponents {
ALayout: typeof import('ant-design-vue/es')['Layout']
ALayoutContent: typeof import('ant-design-vue/es')['LayoutContent']
+ ALayoutSider: typeof import('ant-design-vue/es')['LayoutSider']
+ AMenu: typeof import('ant-design-vue/es')['Menu']
+ AMenuItem: typeof import('ant-design-vue/es')['MenuItem']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
TSidebar: typeof import('./src/components/t-sidebar.vue')['default']
diff --git a/src/components/t-sidebar.vue b/src/components/t-sidebar.vue
index 07d232db..64448282 100644
--- a/src/components/t-sidebar.vue
+++ b/src/components/t-sidebar.vue
@@ -1,14 +1,48 @@
-
-
侧边栏
-
+
+
+
+
+ Home
+
+
+
+ Config
+
+
+
diff --git a/src/router/routes.ts b/src/router/routes.ts
index be6f0156..7e8398c9 100644
--- a/src/router/routes.ts
+++ b/src/router/routes.ts
@@ -7,6 +7,10 @@ const routes = [
name: "Home",
component: Home,
},
+ {
+ path: "/home",
+ redirect: "/",
+ },
{
path: "/config",
name: "Config",