unibest/docs/.vitepress/theme/components/NavBarTitleAfter.vue

21 lines
412 B
Vue
Raw Normal View History

<script setup lang="ts">
2024-12-06 09:59:47 +08:00
import { version } from '../../../../package.json'
</script>
<template>
<span
style="
display: inline-block;
2025-01-06 13:29:16 +08:00
padding: 0px 8px;
margin-left: 4px;
font-size: 10px;
font-weight: 700;
2025-01-06 13:29:16 +08:00
color: var(--vp-button-brand-text);
background-color: var(--vp-button-brand-bg);
border-radius: 16px;
"
>
{{ version }}
</span>
</template>