- Issue created by @diarcastro
- Merge request !19Resolves #3487884: Documentation: Troubleshooting Case 3. → (Open) created by diarcastro
- 🇨🇴Colombia diarcastro
I just pushed a new commit fixing the indentation changes.
- 🇬🇧United Kingdom chrisscrumping
Tested the example JS in my storybook preview file with storybook 8+ and worked great - thanks diarcastro
Maybe we should include the example for storybook 8+ as that will be the defacto going forward?
- Issue was unassigned.
- Status changed to Needs work
3 months ago 10:38pm 18 January 2025 - e0ipso Can Picafort
Maybe we should include the example for storybook 8+ as that will be the defacto going forward?
Yeah, I agree.
- 🇨🇴Colombia diarcastro
The code is already there. I added some comments to clarify that part and added an extra parameter to avoid a caching issue.
What do you think @chrisscrumping @e0ipso ?
https://git.drupalcode.org/project/storybook/-/merge_requests/19/diffs?c...
- 🇬🇧United Kingdom chrisscrumping
I was mainly refering to the preview.js part
maybe something like this would be better?
const preview = {
parameters: {
server: {
fetchStoryHtml,
},
// ...
},
};
```> In Storybook < 8.0 the server configuration should not be wrapped in the parameters object.
- 🇨🇴Colombia diarcastro
@chrisscrumping
I just pushed the code, I misunderstood :)https://git.drupalcode.org/project/storybook/-/merge_requests/19/diffs?c...