Skip to content

Commit

Permalink
Merge pull request #83 from ashcolor/develop
Browse files Browse the repository at this point in the history
deploy
  • Loading branch information
ashcolor authored Jan 19, 2024
2 parents f0ee0ca + cf49e67 commit cb26aa3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,12 @@
- [daisyUI](https://daisyui.com/)
- [iconify](https://iconify.design/)

> [!WARNING]
> Nuxt Contentのバージョンを`2.8.2`から上げるとコードブロックのハイライトが消える不具合がある
> [!WARNING]
>
> - Nuxt Contentのバージョンを`2.8.2`から上げるとコードブロックのハイライトが消える不具合がある
> see @https://github.com/nuxt/content/issues/2473 >
> - Vueのバージョンを3.4.8に止めないと画面の遷移時にエラーになる
> see @https://github.com/nuxt/nuxt/issues/25214
## 環境構築

Expand Down
7 changes: 2 additions & 5 deletions components/content/QuoteArticleCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,8 @@ const props = withDefaults(defineProps<Props>(), {
url: "",
});
const { data: article, pending } = await useLazyAsyncData(
() => queryContent(props.url).without(["body"]).findOne(),
{
server: false,
}
const { data: article, pending } = await useLazyAsyncData(`quote-article-card-${props.url}`, () =>
queryContent(props.url).without(["body"]).findOne()
);
</script>

Expand Down

0 comments on commit cb26aa3

Please sign in to comment.