Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Initialize storybook
Install
dependencies will be installed automatically
Config
Structure the stories
CommonTable
Playground
andDefault
and the othersAdd storybook addons
Fix a bug
I got below error message when I run the storybook script
So, I fixed this error by running below script
storybookjs/storybook#12668 (comment)
After that, in
preview.js
,parameter.core.builder
was added and two packages (@storybook/builder-webpack5
and@storybook/manger-webpack5
) was installed.Issues
When I set
true
forparameter.controls.expanded
inpreview.js
, controls tab must read the prop types of the component.But, it's not working.
I think this is an issue of a current version. (
6.4.19
)(Because I checked other project is working with expanded option. and the version of that project was
6.4.18
)So I will continue to check this issue and a new version of storybook.