mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 13:17:00 +08:00
Add: Vite Electron Builder template
From https://github.com/cawa-93/vite-electron-builder
This commit is contained in:
0
webapp/types/.gitkeep
Normal file
0
webapp/types/.gitkeep
Normal file
15
webapp/types/vite-env.d.ts
vendored
Normal file
15
webapp/types/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/// <reference types="vite/client" />
|
||||
|
||||
/**
|
||||
* Describes all existing environment variables and their types.
|
||||
* Assists in autocomplete and typechecking
|
||||
*
|
||||
* @see https://github.com/vitejs/vite/blob/eef51cb37db98a1ad9a541bdd3cd74736ff8488d/packages/vite/types/importMeta.d.ts#L62-L69 Base Interface
|
||||
*/
|
||||
interface ImportMetaEnv {
|
||||
|
||||
/**
|
||||
* The value of the variable is set in scripts/watch.js and depend on packages/main/vite.config.js
|
||||
*/
|
||||
VITE_DEV_SERVER_URL: undefined | string;
|
||||
}
|
||||
Reference in New Issue
Block a user