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:
parent
307810d9c0
commit
df4ff20df8
2
types/env.d.ts
vendored
2
types/env.d.ts
vendored
@ -1,5 +1,3 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
/** 声明 vite 环境变量的类型(如果未声明则默认是 any) */
|
||||
declare interface ImportMetaEnv {
|
||||
readonly VITE_BASE_API: string
|
||||
|
6
types/shims-vue.d.ts
vendored
6
types/shims-vue.d.ts
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user