SanityContent and SanityImage are not auto-imported
See original GitHub issueHi!
I’ve just updated to v0.4.0 and the helpers are no longer globally imported even though that I set components: true
. Do I need to write more config for it to work?
Reproduction: https://github.com/mornir/movies-web
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
SanityContent and SanityImage are not auto-imported #51
Hi! I've just updated to v0.4.0 and the helpers are no longer globally imported even though that I set components: true.
Read more >Top 5 @sanity/image-url Code Examples - Snyk
Learn more about how to use @sanity/image-url, based on @sanity/image-url code examples created from the most popular ways it is used in public...
Read more >Image-url builder (JS) - Sanity.io
Quickly generate image urls from Sanity image records. This helper will by default respect any crops/hotspots specified in the Sanity content provided to...
Read more >@sanity/image-url examples - CodeSandbox
Learn how to use @sanity/image-url by viewing and forking example apps that make use of @sanity/image-url on CodeSandbox.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@danielroe thanks for the prompt fix, no more nuxt error!
@dylanmcgowan apologies! would you check that this issue is solved for you in 0.6.1?