修改部分规则模块删除无用前端 新增前端界面
This commit is contained in:
20
modeler/types/vite-env.d.ts
vendored
Normal file
20
modeler/types/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
/// <reference types="vite/client" />
|
||||
declare module '@originjs/vite-plugin-commonjs' {
|
||||
import { Plugin } from 'vite';
|
||||
const commonjs: () => Plugin;
|
||||
export default commonjs;
|
||||
}
|
||||
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_API_URL: string; // 自定义环境变量
|
||||
readonly VITE_APP_TITLE: string; // 应用标题
|
||||
}
|
||||
|
||||
interface ImportMeta {
|
||||
readonly env: ImportMetaEnv;
|
||||
}
|
||||
|
||||
declare module "*.svg" {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
Reference in New Issue
Block a user