Skip to content

Latest commit

 

History

History
161 lines (127 loc) · 6 KB

File metadata and controls

161 lines (127 loc) · 6 KB

Web Components Storybook

This repository is about offering a Storybook with all Web Components, which are build for any CMS but particularly used for Mutobo.

Table of contents

Setup

git clone git@github.com:mits-gossau/web-components-toolbox-storybook.git
cd web-components-toolbox-storybook
npm install
npm run update

Go for a coffee. This will take a while.

npm run storybook

Take a look at package.json for other scripts.

You can find all stories in src/stories.

Demo

Take a look at the deployed Storybook.

Build

To take over changes on stories just build Storybook with static files, create a commit and push it afterwards.

npm run build
git add . && git commit -m "feat(storybook-static): build static files for Storybook" && git push

This push triggers an action to auto deploy static Storybook files. See static.yml for more information.

Supported Projects

This Storybook supports following clients (added as submodules in src):

Hint: Update submodules

npm run update

Web Components

At the moment the following components are included.

Atoms

Contentful

Molecules

Organisms