docs: migrate vant-use document to vant

This commit is contained in:
chenjiahan
2021-06-04 17:18:17 +08:00
committed by neverland
parent 6128434e22
commit 2fa7b10b35
10 changed files with 67 additions and 6 deletions

View File

@@ -410,6 +410,47 @@ module.exports = {
},
],
},
{
title: '组合式 API',
items: [
{
path: 'use-toggle',
title: 'useToggle',
},
{
path: 'use-count-down',
title: 'useCountDown',
},
{
path: 'use-rect',
title: 'useRect',
},
{
path: 'use-event-listener',
title: 'useEventListener',
},
{
path: 'use-page-visibility',
title: 'usePageVisibility',
},
{
path: 'use-scroll-parent',
title: 'useScrollParent',
},
{
path: 'use-window-size',
title: 'useWindowSize',
},
{
path: 'use-relation',
title: 'useRelation',
},
{
path: 'use-click-away',
title: 'useClickAway',
},
],
},
],
},
'en-US': {