chrome PWA 支持.

This commit is contained in:
lijiahang
2024-05-22 12:50:30 +08:00
parent 35ee4faffc
commit ca8e629e4c
17 changed files with 1982 additions and 30 deletions

View File

@@ -7,6 +7,14 @@ declare module '*.vue' {
export default component;
}
// window
interface CustomWindow extends Window {
deferredPrompt?: any;
}
declare const window: CustomWindow;
// .env
interface ImportMetaEnv {
readonly VITE_API_BASE_URL: string;
readonly VITE_WS_BASE_URL: string;