- 从服务器拉取完整代码 - 按框架规范整理项目结构 - 配置 Drone CI 测试环境部署 - 包含后端(FastAPI)、前端(Vue3)、管理端 技术栈: Vue3 + TypeScript + FastAPI + MySQL
23 lines
450 B
TypeScript
23 lines
450 B
TypeScript
/// <reference types="vite/client" />
|
|
|
|
declare module '*.vue' {
|
|
import type { DefineComponent } from 'vue'
|
|
const component: DefineComponent<{}, {}, any>
|
|
export default component
|
|
}
|
|
|
|
// Element Plus 中文语言包类型声明
|
|
declare module 'element-plus/dist/locale/zh-cn.mjs' {
|
|
const zhCn: any
|
|
export default zhCn
|
|
}
|
|
|
|
interface ImportMetaEnv {
|
|
readonly VITE_API_BASE_URL: string
|
|
}
|
|
|
|
interface ImportMeta {
|
|
readonly env: ImportMetaEnv
|
|
}
|
|
|