@ms-cloudpack/storybook-react
v0.3.78
Published
Framework for running Storybook with React and Cloudpack.
Downloads
1,311
Keywords
Readme
@ms-cloudpack/storybook-react
@ms-cloudpack/storybook-react is an experimental Storybook framework. It simplifies the configuration of the Storybook by setting the builder @ms-cloudpack/storybook-builder and the renderer @storybook/react.
Installation
Install the framework with npm:
npm install @ms-cloudpack/storybook-react --save-devor yarn:
yarn add @ms-cloudpack/storybook-react --devConfiguration
Configure the framework name in the Storybook main configuration file:
// .storybook/main.js
const config = {
...
framework: {
name: '@ms-cloudpack/storybook-react',
options: {
...
},
...
},
...
};
export default config;