[Doc] add nav link (#1620)
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
<template>
|
||||
<div class="app">
|
||||
<van-doc :simulators="simulators" :current-simulator="currentSimulator" :config="config" :base="base">
|
||||
<van-doc
|
||||
:base="base"
|
||||
:config="config"
|
||||
active="Vue 组件"
|
||||
:simulators="simulators"
|
||||
:current-simulator="currentSimulator"
|
||||
>
|
||||
<router-view @changeDemoURL="onChangeDemoURL" />
|
||||
</van-doc>
|
||||
</div>
|
||||
|
||||
@@ -11,6 +11,8 @@ module.exports = {
|
||||
href: '#/'
|
||||
},
|
||||
nav: {
|
||||
'Vue 组件': 'https://youzan.github.io/vant/',
|
||||
'小程序组件': 'https://youzan.github.io/vant-weapp/',
|
||||
lang: {
|
||||
text: 'En',
|
||||
from: 'zh-CN',
|
||||
|
||||
Reference in New Issue
Block a user