mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 00:14:18 +00:00
docs(@vant/use): add vuepress
This commit is contained in:
33
packages/vant-use/.vuepress/config.js
Normal file
33
packages/vant-use/.vuepress/config.js
Normal file
@@ -0,0 +1,33 @@
|
||||
module.exports = {
|
||||
base: '/vant-use/',
|
||||
title: 'Vant Use',
|
||||
dest: 'dist',
|
||||
head: [['link', { rel: 'icon', href: 'https://img.yzcdn.cn/vant/logo.png' }]],
|
||||
themeConfig: {
|
||||
nav: [
|
||||
{
|
||||
text: 'Github',
|
||||
link: 'https://github.com/youzan/vant/tree/next/packages/vant-use',
|
||||
},
|
||||
],
|
||||
sidebarDepth: 0,
|
||||
sidebar: [
|
||||
{
|
||||
title: 'State',
|
||||
collapsable: false,
|
||||
// children: ['/src/useToggle/'],
|
||||
},
|
||||
{
|
||||
title: 'DOM',
|
||||
collapsable: false,
|
||||
children: [
|
||||
'/src/useClickAway/',
|
||||
'/src/useEventListener/',
|
||||
'/src/usePageVisibility/',
|
||||
'/src/useScrollParent/',
|
||||
// '/src/useWindowSize/',
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
Reference in New Issue
Block a user