Skip to content

atanasster/storybook-addon-export-stories

Repository files navigation

storybook-addon-export-stories

A storybook addon to save a list of stories into JSON

Installation

npm i -D storybook-addon-export-stories

Configuration

in the main.js file in your storybook config, register storybook-addon-export-stories:

module.exports = {
  ...
  addons: [
    'storybook-addon-export-stories',
  ],
};

Usage

A button will be displayed in the Storybook toolbar - you can click that button to download all your stories to a stories.json file.

About

A storybook addon to export all stories to a json file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published