feat: 动态标题

This commit is contained in:
pany
2023-08-29 18:13:35 +08:00
parent 1ef54abc1e
commit 6593db0d21
9 changed files with 39 additions and 8 deletions

1
types/env.d.ts vendored
View File

@@ -1,5 +1,6 @@
/** 声明 vite 环境变量的类型(如果未声明则默认是 any */
declare interface ImportMetaEnv {
readonly VITE_APP_TITLE: string
readonly VITE_BASE_API: string
readonly VITE_ROUTER_HISTORY: "hash" | "html5"
readonly VITE_PUBLIC_PATH: string