In the project directory, you can run:
-
main.js is the configuration file for storybook itself
-
preview.js is the configuration file for stories we write
-
Install addon storybook source to display source code
- Update story name without changing story export name
-
global decorator : wraps every stories with some component
- local decorator : wraps all the compoennt of the selected story
- run storybook - http://localhost:6006