From 067213ff603756a200b30d9f712585354dbbe502 Mon Sep 17 00:00:00 2001 From: dswbx Date: Wed, 4 Dec 2024 15:54:33 +0100 Subject: [PATCH] docs: updated astro to add external example + added hint for astro db issues on v5 --- docs/integration/astro.mdx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/integration/astro.mdx b/docs/integration/astro.mdx index 7625494..90a4992 100644 --- a/docs/integration/astro.mdx +++ b/docs/integration/astro.mdx @@ -8,6 +8,9 @@ import InstallBknd from '/snippets/install-bknd.mdx'; Install bknd as a dependency: +The guide below assumes you're using Astro v4. We've experienced issues with Astro DB + using v5, see [this issue](https://github.com/withastro/astro/issues/12474). + For the Astro integration to work, you also need to [add the react integration](https://docs.astro.build/en/guides/integrations-guide/react/): ```bash npx astro add react @@ -117,4 +120,5 @@ export const prerender = false; ``` -Check the [astro example](https://github.com/bknd-io/bknd/tree/main/examples/astro) for more implementation details. \ No newline at end of file +Check the [astro repository example](https://github.com/bknd-io/bknd/tree/main/examples/astro) +for more implementation details or a [fully working example using Astro DB](https://github.com/dswbx/bknd-astro-example). \ No newline at end of file