Skip to content

Commit ba5c93e

Browse files
authored
docs: fix Badge display (#5539)
1 parent 9c64967 commit ba5c93e

File tree

7 files changed

+2879
-1374
lines changed

7 files changed

+2879
-1374
lines changed

docs/.vitepress/components.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@ declare module 'vue' {
1515
NonProjectOption: typeof import('./components/NonProjectOption.vue')['default']
1616
RouterLink: typeof import('vue-router')['RouterLink']
1717
RouterView: typeof import('vue-router')['RouterView']
18+
Version: typeof import('./components/Version.vue')['default']
1819
}
1920
}
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script setup lang="ts">
2+
import { VPBadge } from 'vitepress/theme'
3+
</script>
4+
5+
<template>
6+
<VPBadge type="info"><slot/>+</VPBadge>
7+
</template>

0 commit comments

Comments
 (0)