feat: version + base 优化

This commit is contained in:
Burt 2024-12-06 09:59:47 +08:00
parent b2bf1efef3
commit af45c69784
2 changed files with 2 additions and 4 deletions

View File

@ -7,8 +7,7 @@ const buildTime = dayjs().format('yyyy-MM-dd HH:mm:ss')
// https://vitepress.dev/reference/site-config // https://vitepress.dev/reference/site-config
export default defineConfig({ export default defineConfig({
lang: 'zh-CN', lang: 'zh-CN',
base: '/unibest-docs/', base: '/',
// base: '/',
title: 'unibest', title: 'unibest',
description: '最好用的 uniapp 开发模板', description: '最好用的 uniapp 开发模板',
lastUpdated: true, lastUpdated: true,

View File

@ -1,6 +1,5 @@
<script setup lang="ts"> <script setup lang="ts">
// TODO: import { version } from '../../../../package.json'
const version = '2.5.0'
</script> </script>
<template> <template>