From 8b634bd9bc49f9f92c13a9879112561bb0015c1d Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 25 Sep 2020 09:43:54 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=A9=BA=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index 1965d72..5fb0e07 100644 --- a/README.md +++ b/README.md @@ -14,5 +14,3 @@ |- mine 用户个人中心 |- manage 直播 视频 日历 |- login 登录与关于我们 - - From 6502d6e46e1f6a632a5d484ffaca9901502f2064 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Fri, 25 Sep 2020 15:13:39 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=B7=A6=E4=BE=A7menu=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 12 +-- src/components/Menu.vue | 175 ++++++++++++++++++++++++++++++++++++++++ src/router/index.ts | 3 +- 3 files changed, 183 insertions(+), 7 deletions(-) create mode 100644 src/components/Menu.vue diff --git a/src/App.vue b/src/App.vue index 1091a7b..c5eecf3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,11 +1,13 @@ - diff --git a/src/components/Menu.vue b/src/components/Menu.vue new file mode 100644 index 0000000..8fd5b29 --- /dev/null +++ b/src/components/Menu.vue @@ -0,0 +1,175 @@ + + + \ No newline at end of file diff --git a/src/router/index.ts b/src/router/index.ts index a6021e1..f89b67c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -1,11 +1,10 @@ import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router' -import Home from '../views/Home.vue' const routes: Array = [ { path: '/', name: 'Home', - component: Home + component: () => import(/* webpackChunkName: "about" */ '../components/Menu.vue') }, { path: '/about',