Skip to content

Commit

Permalink
fix(docs): use bindingName instead of binding (#3109)
Browse files Browse the repository at this point in the history
  • Loading branch information
gangsthub authored Feb 7, 2025
1 parent b2ba96c commit 311609c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/docs/1.getting-started/3.configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -310,14 +310,14 @@ export default defineNuxtConfig({

### `D1`

If you plan to deploy your application to Cloudflare workers, you need to use the `d1` database adapter. Create a `d1` binding in the Cloudflare dashboard and fill in the `binding` field.
If you plan to deploy your application to Cloudflare workers, you need to use the `d1` database adapter. Create a `d1` binding in the Cloudflare dashboard and fill in the `bindingName` field.

```ts [nuxt.config.ts]
export default defineNuxtConfig({
content: {
database: {
type: 'd1',
binding: 'CF_BINDING_NAME'
bindingName: 'CF_BINDING_NAME'
}
}
})
Expand Down

0 comments on commit 311609c

Please sign in to comment.