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 @@ + + +