From 931c4b6c9ae82b6a212dcc3fe63bca01749f58ef Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Mon, 31 Mar 2025 14:52:55 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A7=88=EC=9D=B4=ED=8E=98=EC=9D=B4=EC=A7=80?= =?UTF-8?q?=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layouts/TheTop.vue | 8 ++- src/router/index.js | 6 ++ src/views/mypage/MyPage.vue | 127 ++++++++++++++++++++++++++++++++++++ 3 files changed, 139 insertions(+), 2 deletions(-) create mode 100644 src/views/mypage/MyPage.vue diff --git a/src/layouts/TheTop.vue b/src/layouts/TheTop.vue index c925f38..47399a3 100644 --- a/src/layouts/TheTop.vue +++ b/src/layouts/TheTop.vue @@ -191,8 +191,8 @@
  • - - My Profile + + My Page
  • @@ -332,6 +332,10 @@ router.push('/login'); }; + const goToMyPage = () => { + router.push('/mypage'); + }; + diff --git a/src/router/index.js b/src/router/index.js index 8134042..b8b6c9c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -36,6 +36,12 @@ const routes = [ }, ], }, + { + path: '/mypage', + name: 'MyPage', + component: () => import('@v/mypage/MyPage.vue'), + meta: { requiresAuth: true } + }, { path: '/wordDict', component: () => import('@v/wordDict/wordDict.vue'), diff --git a/src/views/mypage/MyPage.vue b/src/views/mypage/MyPage.vue new file mode 100644 index 0000000..6412f01 --- /dev/null +++ b/src/views/mypage/MyPage.vue @@ -0,0 +1,127 @@ + + +