1.0.0 • Published 4 years ago

storybook-addon-export-stories v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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.