-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more pages bindings info #7979
Merged
deadlypants1973
merged 6 commits into
cloudflare:production
from
dario-piotrowicz:more-pages-bindings
Mar 21, 2023
Merged
Add more pages bindings info #7979
deadlypants1973
merged 6 commits into
cloudflare:production
from
dario-piotrowicz:more-pages-bindings
Mar 21, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18240b8
to
a339609
Compare
a339609
to
eb51907
Compare
@@ -66,8 +66,25 @@ For the complete guide to deploying your first site to Cloudflare Pages, refer t | |||
|
|||
## Use bindings in your Nuxt application | |||
|
|||
It is not currently possible to access bindings from a Nuxt application (refer to this [Nuxt GitHub issue](https://github.com/nuxt/nuxt/issues/18599)). | |||
A [binding](/pages/platform/functions/bindings/) allows your application to interact with Cloudflare developer products, such as [KV](https://developers.cloudflare.com/workers/learning/how-kv-works/), [Durable Object](/workers/learning/using-durable-objects/), [R2](/r2/), and [D1](https://blog.cloudflare.com/introducing-d1/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
A [binding](/pages/platform/functions/bindings/) allows your application to interact with Cloudflare developer products, such as [KV](https://developers.cloudflare.com/workers/learning/how-kv-works/), [Durable Object](/workers/learning/using-durable-objects/), [R2](/r2/), and [D1](https://blog.cloudflare.com/introducing-d1/). | |
Pages Functions allow you to take advantage of [Cloudflare Workers](/workers/) and add dynamic functionality to add to your Pages site. With Pages Functions, you can integrate with storage solutions, connect to third party services, and use server-side rendering with your favorite full stack frameworks. | |
To use a Cloudflare storage resource, such as [KV](https://developers.cloudflare.com/workers/learning/how-kv-works/), [Durable Object](/workers/learning/using-durable-objects/), [R2](/r2/), and [D1](/d1/), with your Pages project: | |
1. Create a [Pages Function](/pages/platform/functions/get-started/). | |
2. Create a [binding](/pages/platform/functions/bindings/) that allows your Pages Function and storage resource to communicate. |
@@ -66,4 +66,29 @@ For the complete guide to deploying your first site to Cloudflare Pages, refer t | |||
After deploying your site, you will receive a unique subdomain for your project on `*.pages.dev`. | |||
Every time you commit new code to your Qwik site, Cloudflare Pages will automatically rebuild your project and deploy it. You will also get access to [preview deployments](/pages/platform/preview-deployments/) on new pull requests, to preview how changes look to your site before deploying them to production. | |||
|
|||
## Use bindings in your Qwik application | |||
|
|||
A [binding](/pages/platform/functions/bindings/) allows your application to interact with Cloudflare developer products, such as [KV](https://developers.cloudflare.com/workers/learning/how-kv-works/), [Durable Object](/workers/learning/using-durable-objects/), [R2](/r2/), and [D1](https://blog.cloudflare.com/introducing-d1/). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
A [binding](/pages/platform/functions/bindings/) allows your application to interact with Cloudflare developer products, such as [KV](https://developers.cloudflare.com/workers/learning/how-kv-works/), [Durable Object](/workers/learning/using-durable-objects/), [R2](/r2/), and [D1](https://blog.cloudflare.com/introducing-d1/). | |
Pages Functions allow you to take advantage of [Cloudflare Workers](/workers/) and add dynamic functionality to add to your Pages site. With Pages Functions, you can integrate with storage solutions, connect to third party services, and use server-side rendering with your favorite full stack frameworks. | |
To use a Cloudflare storage resource, such as [KV](https://developers.cloudflare.com/workers/learning/how-kv-works/), [Durable Object](/workers/learning/using-durable-objects/), [R2](/r2/), and [D1](/d1/), with your Pages project: | |
1. Create a [Pages Function](/pages/platform/functions/get-started/). | |
2. Create a [binding](/pages/platform/functions/bindings/) that allows your Pages Function and storage resource to communicate. |
Co-authored-by: Kate Tungusova <[email protected]>
Co-authored-by: Kate Tungusova <[email protected]>
Co-authored-by: Kate Tungusova <[email protected]>
deadlypants1973
approved these changes
Mar 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.