mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
48 lines
1.1 KiB
JavaScript
48 lines
1.1 KiB
JavaScript
module.exports = {
|
|
base: '/vant/vant-use/',
|
|
title: 'Vant Use',
|
|
dest: 'dist/site',
|
|
head: [
|
|
['link', { rel: 'icon', href: 'https://img01.yzcdn.cn/vant/logo.png' }],
|
|
],
|
|
patterns: ['**/*.md', '!**/node_modules'],
|
|
themeConfig: {
|
|
nav: [
|
|
{
|
|
text: 'GitHub',
|
|
link: 'https://github.com/youzan/vant/tree/dev/packages/vant-use',
|
|
},
|
|
],
|
|
sidebarDepth: 0,
|
|
sidebar: [
|
|
{
|
|
title: '介绍',
|
|
collapsable: false,
|
|
children: ['/', 'changelog'],
|
|
},
|
|
{
|
|
title: 'State',
|
|
collapsable: false,
|
|
children: ['/src/useToggle/', '/src/useCountDown/'],
|
|
},
|
|
{
|
|
title: 'DOM',
|
|
collapsable: false,
|
|
children: [
|
|
'/src/useRect/',
|
|
'/src/useClickAway/',
|
|
'/src/useEventListener/',
|
|
'/src/usePageVisibility/',
|
|
'/src/useScrollParent/',
|
|
'/src/useWindowSize/',
|
|
],
|
|
},
|
|
{
|
|
title: 'Enhanced',
|
|
collapsable: false,
|
|
children: ['/src/useRelation/'],
|
|
},
|
|
],
|
|
},
|
|
};
|