From c777ba48d912b80f10214e466ee1eb5c6efe95d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9E=84=EB=8F=99=ED=98=84?= Date: Wed, 15 Nov 2023 09:57:37 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20vuetify=20=EC=9D=B4=EC=A0=84?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=88=98=EC=A0=95=20(#87)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/front-deploy.yml | 2 +- src/components/board/BoardDetail.vue | 5 +++++ src/components/board/BoardHome.vue | 4 ++-- src/router/index.js | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/front-deploy.yml b/.github/workflows/front-deploy.yml index 31ae040..d4a340f 100644 --- a/.github/workflows/front-deploy.yml +++ b/.github/workflows/front-deploy.yml @@ -2,7 +2,7 @@ name: Deploy to CloudFront on: push: - branches: [ "main" ] + branches: [ "dev" ] jobs: diff --git a/src/components/board/BoardDetail.vue b/src/components/board/BoardDetail.vue index d89a1a5..dedbe95 100644 --- a/src/components/board/BoardDetail.vue +++ b/src/components/board/BoardDetail.vue @@ -8,6 +8,11 @@

{{ boardData.content }}

댓글 창 - 구현 예정
+ + + + + diff --git a/src/components/board/BoardHome.vue b/src/components/board/BoardHome.vue index 1538657..9b16cb9 100644 --- a/src/components/board/BoardHome.vue +++ b/src/components/board/BoardHome.vue @@ -75,8 +75,8 @@ export default { }, methods: { // 게시글 세부 정보 페이지로 이동하는 함수 - goToDetail(postId) { - this.$router.push({name: 'BoardDetail', params: {id: postId}}); + goToDetail(boardId) { + this.$router.push({name: 'BoardDetail', params: {boardId: boardId}}); }, async fetchPosts(page) { // 카테고리가 ALL이 아니라면 category 파라미터를 추가 diff --git a/src/router/index.js b/src/router/index.js index 626863a..1ef6d5d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -100,7 +100,7 @@ const routes = [ }, { path: '/board/:boardId', - name: 'board detail', + name: 'BoardDetail', component: BoardDetail } ]