Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated examples and docs for storybook's declarative configuration #23

Open
DigTheDoug opened this issue Mar 19, 2020 · 3 comments
Open

Comments

@DigTheDoug
Copy link

At the beginning of the year Storybook update their configuration:
https://medium.com/storybookjs/declarative-storybook-configuration-49912f77b78

This changes a lot of how the configuration files are structured and their contents, and as a result the instructions in the DSM docs as well as the example repos unfortunately don't reflect the current way storybook is configured. Some changes are easy to port over, but others such as the ones in this section aren't very clear and I have yet to successfully get working.

It'd be great to get updated documentation and examples that use the new declarative configuration format.

@mryechkin
Copy link

I'd like to see updated examples as well. Trying to move to the new format and it's not clear

@hanilim
Copy link

hanilim commented May 12, 2020

+1 to wanting to see updated examples.

According to this https://support.invisionapp.com/hc/en-us/articles/360039932191

DSM does not yet support stories written in the new MDX story format or the new declarative configuration file that was introduced in version 5.3.

But I hope it's something that the InVision team is considering.

@elycruz
Copy link

elycruz commented Aug 10, 2020

@DigTheDoug Quick headsup, I got everything working with the storybook's older configuration setup (folder structure below):

.storybook/
- addons.js
- config.js
- presets.js
- preview-head.html
- webpack.config.js

I pretty much just ended up copying what they had in their example:
https://github.com/InVisionApp/dsm-storybook-example-library/tree/master/html/storybook-v5/.storybook

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants