From 16b2b014057dd2f6bfbf49116454ef5792523a62 Mon Sep 17 00:00:00 2001 From: Simo-C3 Date: Mon, 24 Apr 2023 22:41:49 +0900 Subject: [PATCH 1/4] =?UTF-8?q?[fix]=20nuxt.config.js=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nuxt.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nuxt.config.js b/nuxt.config.js index 9c988a9..91b9864 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -174,7 +174,9 @@ export default { ]).then(([users, works]) => { const urls = [] users.data.map((user) => urls.push({ route: `/users/${user.id}` })) - works.data.map((work) => urls.push({ route: `/works/${work.id}` })) + works.data.works.map((work) => + urls.push({ route: `/works/${work.id}` }) + ) return urls }) } From f14d60241caafe78663fe13cd64f6edbaae1bc35 Mon Sep 17 00:00:00 2001 From: Simo-C3 Date: Tue, 25 Apr 2023 00:01:38 +0900 Subject: [PATCH 2/4] =?UTF-8?q?[change]=20Markdown=E3=81=AE=E3=83=87?= =?UTF-8?q?=E3=82=B6=E3=82=A4=E3=83=B3=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/commons/MarkdownView.vue | 102 ++++++++++++++++++++++------ pages/works/_id/index.vue | 47 +++++++++---- 2 files changed, 115 insertions(+), 34 deletions(-) diff --git a/components/commons/MarkdownView.vue b/components/commons/MarkdownView.vue index 9509184..35e322a 100644 --- a/components/commons/MarkdownView.vue +++ b/components/commons/MarkdownView.vue @@ -2,17 +2,7 @@
+
-
{{ work.title }}
+
{{ work.title }}
投稿日時: @@ -829,7 +817,36 @@ export default class Works extends Vue { } -