Vue CLI plugin for Storybook
$ vue add storybook
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.config.js
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'
]
}
}
}
Here is a list of Contributors
We particularly thank Almas Akchabayev <[email protected]>
for the initial code and willing to transfer the project to us.
I accept pull requests and guarantee a reply back within a day
MIT/X11
Report here. Guaranteed reply within a day.
Pavan Kumar Sunkara ([email protected])