You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
⚠️ Warning: If using Gatsby v4, make sure you've installed version 7.1.0 or higher. The plugin has a dependency on `gatsby-plugin-image` which itself has dependencies. Check [`gatsb-plugin-image` README](https://www.gatsbyjs.com/plugins/gatsby-plugin-image/#installation) for instructions.
43
+
⚠️ Warning: If using Gatsby v4, make sure you've installed version 7.1.0 or higher. The plugin has a dependency on `gatsby-plugin-image` which itself has dependencies. Check [`gatsby-plugin-image` README](https://www.gatsbyjs.com/plugins/gatsby-plugin-image/#installation) for instructions.
44
44
45
45
In the `gatsby-config.js` file in the Gatsby project's root directory, add the plugin configuration inside of the `plugins` section:
46
46
@@ -81,15 +81,15 @@ Explore `http://localhost:8000/___graphql` after running `gatsby develop` to und
| projectId | string ||**[required]** Your Sanity project's ID |
87
-
| dataset | string ||**[required]** The dataset to fetch from |
88
-
| token | string || Authentication token for fetching data from private datasets, or when using `overlayDrafts`[Learn more](https://www.sanity.io/docs/http-auth)|
89
-
| graphqlTag | string |`default`| If the Sanity GraphQL API was deployed using `--tag <name>`, use this to specify the tag name. |
90
-
| overlayDrafts | boolean |`false`| Set to `true` in order for drafts to replace their published version. By default, drafts will be skipped. |
91
-
| watchMode | boolean |`false`| Set to `true` to keep a listener open and update with the latest changes in realtime. If you add a `token` you will get all content updates down to each keypress. |
92
-
| watchModeBuffer | number |`150`| How many milliseconds to wait on watchMode changes before applying them to Gatsby's GraphQL layer. Introduced in 7.2.0. |
| projectId | string ||**[required]** Your Sanity project's ID |
87
+
| dataset | string ||**[required]** The dataset to fetch from |
88
+
| token | string || Authentication token for fetching data from private datasets, or when using `overlayDrafts`[Learn more](https://www.sanity.io/docs/http-auth)|
89
+
| graphqlTag | string |`default`| If the Sanity GraphQL API was deployed using `--tag <name>`, use this to specify the tag name. |
90
+
| overlayDrafts | boolean |`false`| Set to `true` in order for drafts to replace their published version. By default, drafts will be skipped. |
91
+
| watchMode | boolean |`false`| Set to `true` to keep a listener open and update with the latest changes in realtime. If you add a `token` you will get all content updates down to each key press. |
92
+
| watchModeBuffer | number |`150`| How many milliseconds to wait on watchMode changes before applying them to Gatsby's GraphQL layer. Introduced in 7.2.0. |
0 commit comments