Closed Hazzatur closed 1 year ago
Pages
https://developers.cloudflare.com/pages/tutorials/build-a-blog-using-nuxt-and-sanity/#integrating-sanityio
Finally, add @nuxtjs/sanity as a build module in your Nuxt configuration:
nuxt.config.js { buildModules: ['@nuxtjs/sanity/module']; }
The buildModules path is wrong, it should be
nuxt.config.js { buildModules: ['@nuxtjs/sanity']; }
With the current version it throws an error
Nuxt Fatal Error Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './module' is not defined by "exports" in .../node_modules/@nuxtjs/sanity/package.json
Fix the buildModules line
No response
https://github.com/cloudflare/cloudflare-docs/issues/5182
Which Cloudflare product does this pertain to?
Pages
Existing documentation URL(s)
https://developers.cloudflare.com/pages/tutorials/build-a-blog-using-nuxt-and-sanity/#integrating-sanityio
Section that requires update
Finally, add @nuxtjs/sanity as a build module in your Nuxt configuration:
What needs to change?
The buildModules path is wrong, it should be
With the current version it throws an error
How should it change?
Fix the buildModules line
Additional information
No response