Skip to content

Styleguide

ray-millward-tessella edited this page Mar 20, 2019 · 5 revisions

The styleguide for the DAaaS frontend is written using Storybook

To run the storybook locally use:

npm run storybook

To build the artifacts that can be hosted statically use:

npm run build-storybook

The output goes into the storybook-static folder and the static contents of this can be served with any particular web server (e.g. the npm serve package).

Stories can be added in the stories folder where you can find some examples. This page will be expanded as more instructions about writing story files for components are needed, but examples are the best way of understanding how to add content to storybook.

Clone this wiki locally