Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-20 19:09:21 +08:00

chore: 更新 vite/client 配置

This commit is contained in:
pany 2023-07-24 13:41:08 +08:00
parent 307810d9c0
commit df4ff20df8
2 changed files with 0 additions and 8 deletions

2
types/env.d.ts vendored
View File

@ -1,5 +1,3 @@
/// <reference types="vite/client" />
/** 声明 vite 环境变量的类型(如果未声明则默认是 any */
declare interface ImportMetaEnv {
readonly VITE_BASE_API: string

View File

@ -1,9 +1,3 @@
declare module "*.vue" {
import { DefineComponent } from "vue"
const component: DefineComponent<{}, {}, any>
export default component
}
declare module "*.scss" {
const scss: Record<string, string>
export default scss