Davinci's support for storybook. Themes, webpack configurations and related tools
To initialize storybook in an existing project, you can run an initialization command:
npx @toptal/davinci-storybook
It will install storybook along with predefined addons.
Simple run
yarn storybook
To run storybook only for a particular stories
file
yarn storybook -s hosts/host-1/src/stories/Button.stories.tsx
To run storybook from a particular directory:
yarn storybook -s hosts/host-1/src/stories/