This is a simple demo on how to use Storybook with ApostropheCMS. Marketing Starter Kit was taken as a base for this demo, but the approach is the same for any ApostropheCMS project.
See Marketing Starter Kit for more information.
See Storybook for more information.
As ususal run npm install to install dependencies.
Run npm run storybook to start Storybook. And it will be available at http://localhost:6006.
You can also run npm run build-storybook to build Storybook (to compile a static storybook in storybook-static folder)and npm run serve-storybook to serve it. It can be useful for previewing the storybook in staging or production environment.