Skip to content

Commit e4c8e99

Browse files
committed
refactor: update vuepress config.js
1 parent bf2a4db commit e4c8e99

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

docs/.vuepress/config.js

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,27 @@ module.exports = {
4848
[
4949
require('../../src'),
5050
{
51-
component: 'DemoBlock'
51+
component: 'DemoBlock',
52+
locales: [
53+
{
54+
"lang": "zh-CN",
55+
"demo-block": {
56+
"hide-text": "隐藏",
57+
"show-text": "显示",
58+
"copy-text": "复制",
59+
"copy-success": "成功"
60+
}
61+
},
62+
{
63+
"lang": "en-US",
64+
"demo-block": {
65+
"hide-text": "Hide",
66+
"show-text": "Expand",
67+
"copy-text": "Copy",
68+
"copy-success": "Successful"
69+
}
70+
}
71+
]
5272
}
5373
]
5474
],

0 commit comments

Comments
 (0)