Skip to content

Commit

Permalink
docs: fix Badge display (#5539)
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Apr 22, 2024
1 parent 9c64967 commit ba5c93e
Show file tree
Hide file tree
Showing 7 changed files with 2,879 additions and 1,374 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ declare module 'vue' {
NonProjectOption: typeof import('./components/NonProjectOption.vue')['default']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
Version: typeof import('./components/Version.vue')['default']
}
}
7 changes: 7 additions & 0 deletions docs/.vitepress/components/Version.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<script setup lang="ts">
import { VPBadge } from 'vitepress/theme'
</script>

<template>
<VPBadge type="info"><slot/>+</VPBadge>
</template>
Loading

0 comments on commit ba5c93e

Please sign in to comment.