From 90c0c9002a85cab1650697a37c65e618cd694331 Mon Sep 17 00:00:00 2001 From: Kisechan Date: Tue, 4 Mar 2025 11:11:24 +0800 Subject: [PATCH] =?UTF-8?q?about=20debug:=20=E5=9B=A0=E4=B8=BA=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E6=94=BEavatar.jpg=E6=89=80=E4=BB=A5=E5=87=BA?= =?UTF-8?q?=E4=BA=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 35 +++++++++++----- src/components/AppFooter.vue | 79 +++++++++++++----------------------- src/components/NavBar.vue | 44 +++++++------------- src/router/index.js | 5 +-- src/views/AboutView.vue | 33 +++++---------- src/views/HomeView.vue | 22 +++------- 6 files changed, 86 insertions(+), 132 deletions(-) diff --git a/src/App.vue b/src/App.vue index 9598e05..77951e5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,20 +2,33 @@ + \ No newline at end of file diff --git a/src/components/AppFooter.vue b/src/components/AppFooter.vue index 43b957b..edf5242 100644 --- a/src/components/AppFooter.vue +++ b/src/components/AppFooter.vue @@ -1,51 +1,30 @@ - - - - \ No newline at end of file + + + + + + + + + + diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 0774299..14def0b 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -1,30 +1,16 @@ - - \ No newline at end of file + + 主页 + + 博客 + + 关于 + + + + diff --git a/src/router/index.js b/src/router/index.js index 4c003e6..0e8d71f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,16 +1,15 @@ import { createRouter, createWebHistory } from 'vue-router' -import HomeView from '../views/HomeView.vue' const routes = [ { path: '/', name: 'home', - component: HomeView + component: () => import('@/views/HomeView.vue') }, { path: '/about', name: 'about', - component: () => import('../views/AboutView.vue') + component: () => import('@/views/AboutView.vue') } ] diff --git a/src/views/AboutView.vue b/src/views/AboutView.vue index 7db710e..d7e5772 100644 --- a/src/views/AboutView.vue +++ b/src/views/AboutView.vue @@ -1,22 +1,22 @@ + + \ No newline at end of file diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 43d833c..355e064 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,9 +1,10 @@ - \ No newline at end of file +