mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
90 lines
2.8 KiB
JavaScript
90 lines
2.8 KiB
JavaScript
/* eslint-disable */
|
|
module.exports = {
|
|
header: {
|
|
logo: {
|
|
image: 'https://img.yzcdn.cn/public_files/2017/12/18/fd78cf6bb5d12e2a119d0576bedfd230.png',
|
|
title: 'ZanUI 小程序',
|
|
href: 'http://www.youzanyun.com/zanui'
|
|
},
|
|
nav: {
|
|
lang: {
|
|
text: 'En',
|
|
from: 'zh-CN',
|
|
to: 'en-US'
|
|
},
|
|
github: 'https://github.com/youzan/zanui-weapp'
|
|
}
|
|
},
|
|
footer: {
|
|
github: 'https://github.com/youzan/zanui-weapp',
|
|
nav: {
|
|
'React 组件库': 'https://www.youzanyun.com/zanui/zent',
|
|
'Vue 组件库': 'https://www.youzanyun.com/zanui/vant',
|
|
意见反馈: 'https://github.com/youzan/zanui-weapp/issues',
|
|
开发指南: 'https://github.com/youzan/zanui-weapp/blob/dev/.github/CONTRIBUTING.zh-CN.md',
|
|
加入我们: 'https://job.youzan.com'
|
|
}
|
|
},
|
|
plugins: [require('./website/plugins/wxapp-demo.js')],
|
|
docs: {
|
|
base: 'zanui',
|
|
default: 'icon',
|
|
category: [
|
|
{
|
|
base: 'base',
|
|
label: '基础',
|
|
include: {
|
|
icon: require('./packages/icon/README.md'),
|
|
btn: require('./packages/btn/README.md'),
|
|
helper: require('./packages/helper/README.md'),
|
|
loading: require('./packages/loading/README.md')
|
|
}
|
|
},
|
|
{
|
|
base: 'layout',
|
|
label: '布局',
|
|
include: {
|
|
row: require('./packages/row/README.md'),
|
|
cell: require('./packages/cell/README.md'),
|
|
card: require('./packages/card/README.md'),
|
|
panel: require('./packages/panel/README.md')
|
|
}
|
|
},
|
|
{
|
|
base: 'form',
|
|
label: '表单',
|
|
include: {
|
|
field: require('./packages/field/README.md'),
|
|
switch: require('./packages/switch/README.md'),
|
|
select: require('./packages/select/README.md'),
|
|
stepper: require('./packages/stepper/README.md')
|
|
}
|
|
},
|
|
{
|
|
base: 'view',
|
|
label: '展示',
|
|
include: {
|
|
tag: require('./packages/tag/README.md'),
|
|
badge: require('./packages/badge/README.md'),
|
|
capsule: require('./packages/capsule/README.md'),
|
|
noticebar: require('./packages/noticebar/README.md'),
|
|
steps: require('./packages/steps/README.md')
|
|
}
|
|
},
|
|
{
|
|
base: 'interactive',
|
|
label: '交互',
|
|
include: {
|
|
toast: require('./packages/toast/README.md'),
|
|
popup: require('./packages/popup/README.md'),
|
|
dialog: require('./packages/dialog/README.md'),
|
|
toptips: require('./packages/toptips/README.md'),
|
|
tab: require('./packages/tab/README.md'),
|
|
loadmore: require('./packages/loadmore/README.md'),
|
|
actionsheet: require('./packages/actionsheet/README.md')
|
|
}
|
|
}
|
|
],
|
|
include: { 'datetime-picker': require('./packages/datetime-picker/README.md') }
|
|
}
|
|
} |