build-plugin-doc-multiple
移动端跨端组件文档生成插件, 需搭配 build-plugin-component-multiple
使用
build.json 配置示例:
{
"plugins": [
"build-plugin-component-multiple",
[
"build-plugin-doc-multiple",
{
"mode": "all"
}
]
]
}
配置参数
mode
构建文档的模式, 可选值:
-
all
: 默认值,在 start, build 模式下均构建 -
start
: 仅在 start 模式下均构建 -
build
: 仅在 build 模式下均构建