Skip to content

Commit 1d05654

Browse files
docs: ✏️ 文档中全局引入ElTag用于显示组件上线版本
1 parent 5caf3b9 commit 1d05654

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/.vitepress/theme/index.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*
22
* @Author: weisheng
33
* @Date: 2023-07-27 12:36:30
4-
* @LastEditTime: 2024-04-10 10:58:31
4+
* @LastEditTime: 2024-07-20 16:52:08
55
* @LastEditors: weisheng
66
* @Description:
7-
* @FilePath: \wot-design-uni\docs\.vitepress\theme\index.ts
7+
* @FilePath: /wot-design-uni/docs/.vitepress/theme/index.ts
88
* 记得注释
99
*/
1010
import { h } from 'vue'
@@ -19,7 +19,7 @@ import CustomFooter from './components/CustomFooter.vue'
1919
import SvgImage from './components/SvgImage.vue'
2020
import HomeStar from './components/HomeStar.vue'
2121
import frame from './components/frame.vue'
22-
22+
import { ElTag } from 'element-plus'
2323

2424
export default {
2525
...Theme,
@@ -34,5 +34,7 @@ export default {
3434
enhanceApp({ app }) {
3535
app.component('SvgImage', SvgImage)
3636
app.component('frame', frame)
37+
app.component('ElTag', ElTag)
38+
3739
},
3840
}

0 commit comments

Comments
 (0)