storybookjs/vue-cli-plugin-storybook
关于
Vue CLI plugin for Storybook
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文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 <[email protected]> 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 ([email protected])
探索相关项目
加载中…