Skip to content

Commit 37ef6d1

Browse files
committed
[Doc] update common style
1 parent f01f46b commit 37ef6d1

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

doc.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,17 @@ module.exports = {
3030
base: 'vant',
3131
default: 'icon',
3232
category: [
33+
{
34+
base: 'guide',
35+
label: '开发指南',
36+
include: { common: require('./packages/common/README.md') }
37+
},
3338
{
3439
base: 'base',
3540
label: '基础',
3641
include: {
3742
icon: require('./packages/icon/README.md'),
3843
button: require('./packages/button/README.md'),
39-
common: require('./packages/common/README.md'),
4044
loading: require('./packages/loading/README.md')
4145
}
4246
},

example/pages/common/index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"navigationBarTitleText": "Common 内置样式",
2+
"navigationBarTitleText": "内置样式",
33
"usingComponents": {
44
"demo-block": "../../components/demo-block/index"
55
}

example/pages/dashboard/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export default {
33
title: '基础组件',
44
content: [
55
{
6-
name: 'Common 内置样式',
6+
name: '内置样式',
77
path: '/pages/common/index'
88
},
99
{

packages/common/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Common 内置样式
1+
## 内置样式
22
Vant 中默认包含了一些常用样式,可以直接通过 className 的方式使用。
33

44
### 使用指南

0 commit comments

Comments
 (0)