To run storybook:
yarn storybook
Open http://localhost:6006 with your browser to see the result.
You can start adding the stories by modifying components/yourcomponent/component.stories.tsx
. The page auto-updates as you edit the file.
- To deploy on vercel ensure the framework option is
Other
. - In the build command option set it to
yarn build-storybook
- The output directory option should contain
/storybook-static
- Deploy! 🎉