vant-weapp/docs/src/doc.config.js
2019-06-21 17:07:57 +08:00

53 lines
1.0 KiB
JavaScript

/* eslint-disable */
import packageJson from '../../package.json';
import components from '../../example/config';
const { version } = packageJson;
export const github = 'https://github.com/youzan/vant-weapp';
export default {
header: {
logo: {
version,
image: 'https://img.yzcdn.cn/vant/logo.png',
title: 'Vant Weapp',
href: '#/'
},
nav: {}
},
nav: [
{
name: '开发指南',
groups: [
{
list: [
{
path: '/intro',
title: '介绍',
md: true
},
{
path: '/quickstart',
title: '快速上手',
md: true
},
{
path: '/changelog',
title: '更新日志',
md: true
},
{
path: '/common',
title: '内置样式'
}
]
}
]
},
{
name: '组件',
groups: components
}
]
};