2.1.0 • Published 2 years ago

vue-cli-plugin-storybook v2.1.0

Weekly downloads
21,969
License
MIT
Repository
github
Last release
2 years ago

vue-cli-plugin-storybook

Vue CLI plugin for Storybook

Installation

$ vue add storybook

Or to install the next major version for vue-cli-5, please run

$ vue add storybook@next

Usage

It will create a config folder for storybook, a sample component and a sample story. The webpack config used for storybook is resolved from vue-cli-service, which means you don't need to have any special webpack section in storybook config folder.

However, storybook will filter all the plugins for webpack according to internal list of allowed plugins. If you are extending your config with your custom plugins, you can extend list of allowed plugins by passing their names through pluginOptions in your vue.config.js like this:

{
  pluginOptions: {
    storybook: {
      allowedPlugins: [
        'define'
      ]
    }
  }
}

The name of the plugin is the string used in webpack-chains config.plugin(...) call.

Note that only plugins defined with webpack-chain config can be filtered using the allowedPlugins option. Plugings defined through configureWebpack will always be included in the final webpack config.

Contributors

Here is a list of Contributors

We particularly thank Almas Akchabayev <almas.akchabayev@gmail.com> for the initial code and willing to transfer the project to us.

TODO

I accept pull requests and guarantee a reply back within a day

License

MIT/X11

Bug Reports

Report here. Guaranteed reply within a day.

Contact

Pavan Kumar Sunkara (pavan.sss1991@gmail.com)

Follow me on github, twitter

3.0.0-rc.1

2 years ago

3.0.0-rc.0

2 years ago

2.1.0

3 years ago

2.0.0

4 years ago

1.3.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.6.1

5 years ago

0.6.0

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.8

6 years ago

0.4.7

6 years ago

0.4.6

6 years ago

0.4.5

6 years ago

0.4.4

6 years ago

0.4.3

6 years ago

0.4.2

6 years ago

0.4.1

6 years ago

0.4.1-rc.0

6 years ago

0.3.1

6 years ago

0.4.0

6 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.12

6 years ago

0.1.11

6 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago