@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-dev
or yarn:
yarn add @ms-cloudpack/storybook-react --dev
Configuration
Configure the framework name in the Storybook main configuration file:
const config = {
...
framework: {
name: '@ms-cloudpack/storybook-react',
options: {
...
},
...
},
...
};
export default config;
Docs