Add Add multiple environments

This commit is contained in:
2023-10-10 01:16:32 +08:00
parent 7d45e2a3be
commit f0782cdfa2
6 changed files with 19 additions and 2 deletions

9
src/vite-env.d.ts vendored
View File

@@ -1,5 +1,14 @@
/// <reference types="vite/client" />
interface ImportMetaEnv {
readonly VITE_API_URL: string
readonly VITE_API_TOKEN_URL: string
}
interface ImportMeta {
readonly env: ImportMetaEnv
}
type RouteHandle = {
name?: string
menu?: boolean