@ms-cloudpack/storybook-builder
TypeScript icon, indicating that this package has built-in type declarations

0.6.27 • Public • Published

@ms-cloudpack/storybook-builder

Experimental storybook builder using Cloudpack.

Installation

Install the builder with npm:

npm install @ms-cloudpack/storybook-builder --save-dev

or yarn:

yarn add @ms-cloudpack/storybook-builder --dev

Configuration

Configure the builder in the Storybook main configuration file:

// .storybook/main.js

const config = {
  ...
  framework: '@storybook/your-framework',
  core: {
    builder: {
      name: '@ms-cloudpack/storybook-builder',
      options: {
        ...
      },
    },
    ...
  },
  ...
};

export default config;

Customize Cloudpack config

The builder will read your cloudpack.config.json file, though it may add some options in order to work correctly. Ensure to have the Cloudpack config in the CWD.

Unsupported features

These are features that are not yet supported by the builder:

  • React docgen
  • MDX

Readme

Keywords

none

Package Sidebar

Install

npm i @ms-cloudpack/storybook-builder

Weekly Downloads

171

Version

0.6.27

License

MIT

Unpacked Size

71.2 kB

Total Files

35

Last publish

Collaborators

  • ecraig12345_msft
  • uifabricteam
  • dzearing