Open samuelemde opened 1 month ago
Hi @samuelemde,
Thank you for raising this issue. The Astro live preview feature is currently experimental, but we have an upcoming release that will make this process simpler and address the concerns you've mentioned.
Describe the issue you're facing
When using the new
useStoryblok()
wrapper to use the live preview in Storyblok, the function only returns the story object. This prevents us from using the assets array returned by settingresolve_assets: 1
, because the assets array is on the same level as the story in the original response.Reproduction
https://stackblitz.com/edit/astro-sdk-demo-s3f9zj?file=src%2Fpages%2Findex.astro
Steps to reproduce
System Info
Used Package Manager
npm
Error logs (Optional)
No response
Validations