Skip to content

Commit 49d018d

Browse files
committed
feat(docs): 更新气泡组件文档
1 parent cc16442 commit 49d018d

File tree

2 files changed

+450
-29
lines changed

2 files changed

+450
-29
lines changed

docs/src/.vuepress/config.js

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -130,25 +130,28 @@ module.exports = {
130130
lineNumbers: true,
131131
extractHeaders: ['h2', 'h3', 'h4', 'h5', 'h6']
132132
},
133-
// plugins: ['demo-container'],
134-
plugins: [
135-
[
136-
'demo-container',
137-
{
138-
component: 'demo-block',
139-
componentName: 'demo-block',
140-
className: 'ElementUI-X-demo',
141-
locales: {
142-
'/': {
143-
'demo-block': {
144-
'hide-text': '隐藏代码',
145-
'show-text': '显示代码',
146-
'copy-text': '复制代码',
147-
'copy-success': '复制成功'
148-
}
149-
}
150-
}
151-
}
152-
]
153-
]
133+
plugins: ['demo-container','@vuepress/active-header-links', {
134+
sidebarLinkSelector: '.sidebar-link',
135+
headerAnchorSelector: '.header-anchor'
136+
}],
137+
// plugins: [
138+
// [
139+
// 'demo-container',
140+
// {
141+
// component: 'demo-block',
142+
// componentName: 'demo-block',
143+
// className: 'ElementUI-X-demo',
144+
// locales: {
145+
// '/': {
146+
// 'demo-block': {
147+
// 'hide-text': '隐藏代码',
148+
// 'show-text': '显示代码',
149+
// 'copy-text': '复制代码',
150+
// 'copy-success': '复制成功'
151+
// }
152+
// }
153+
// }
154+
// }
155+
// ]
156+
// ]
154157
}

0 commit comments

Comments
 (0)