初始化
This commit is contained in:
20
docs/.vitepress/theme/components/NavBarTitleAfter.vue
Normal file
20
docs/.vitepress/theme/components/NavBarTitleAfter.vue
Normal file
@@ -0,0 +1,20 @@
|
||||
<script setup lang="ts">
|
||||
import { version } from '../../../../package.json'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<span
|
||||
style="
|
||||
display: inline-block;
|
||||
padding: 0px 8px;
|
||||
margin-left: 4px;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
color: var(--vp-button-brand-text);
|
||||
background-color: var(--vp-button-brand-bg);
|
||||
border-radius: 16px;
|
||||
"
|
||||
>
|
||||
{{ version }}
|
||||
</span>
|
||||
</template>
|
||||
Reference in New Issue
Block a user