mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[Doc] fix demo page (#1050)
This commit is contained in:
parent
74714a41e4
commit
7a295fce88
@ -16,19 +16,21 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
import { Locale } from '../../../packages';
|
||||||
name: 'van-doc-demo-pages',
|
|
||||||
|
|
||||||
i18n: {
|
Locale.add({
|
||||||
'zh-CN': {
|
'zh-CN': {
|
||||||
|
vanDocDemoPages: {
|
||||||
title: '示例',
|
title: '示例',
|
||||||
source: '源代码',
|
source: '源代码',
|
||||||
description: '下面是一些使用 Vant 搭建的示例页面,点击图片切换至对应示例。',
|
description: '下面是一些使用 Vant 搭建的示例页面,点击图片切换至对应示例。',
|
||||||
goodsDetail: '商品详情',
|
goodsDetail: '商品详情',
|
||||||
userCenter: '会员中心',
|
userCenter: '会员中心',
|
||||||
shoppingCart: '购物车'
|
shoppingCart: '购物车'
|
||||||
},
|
}
|
||||||
'en-US': {
|
},
|
||||||
|
'en-US': {
|
||||||
|
vanDocDemoPages: {
|
||||||
title: 'Demo Pages',
|
title: 'Demo Pages',
|
||||||
source: 'Source code',
|
source: 'Source code',
|
||||||
description: 'Here are some of the demo pages built using Vant, click on the picture to switch to the corresponding demo.',
|
description: 'Here are some of the demo pages built using Vant, click on the picture to switch to the corresponding demo.',
|
||||||
@ -36,7 +38,11 @@ export default {
|
|||||||
userCenter: 'User Center',
|
userCenter: 'User Center',
|
||||||
shoppingCart: 'Shopping Cart'
|
shoppingCart: 'Shopping Cart'
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
export default {
|
||||||
|
name: 'van-doc-demo-pages',
|
||||||
|
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user