build: 设置多语言

This commit is contained in:
陈凯龙
2021-12-08 10:47:33 +08:00
parent 4050d56c19
commit 45e879edee
27 changed files with 502 additions and 1388 deletions

14
src/types/env.d.ts vendored Normal file
View File

@@ -0,0 +1,14 @@
/// <reference types="vite/client" />
declare module '*.vue' {
import { DefineComponent } from 'vue'
// eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
const component: DefineComponent<{}, {}, any>
export default component
}
declare global {
interface ImportMeta {
env: Record<string, unknown>
}
}

0
src/types/global.d.ts vendored Normal file
View File

0
src/types/v-components.d.ts vendored Normal file
View File