Run bknd inside Astro
node -v
, and upgrade if necessary.bknd.config.ts
file in the root of your project. If you created the project using the CLI starter, this file is already created for you.
AstroBkndConfig
type extends the BkndConfig
type with the following additional properties:
bknd.config.ts
file:
src/pages/api/[...api].ts
.
src/pages/admin/[...admin].astro
: