Template
1
0
mirror of https://github.com/un-pany/v3-admin-vite.git synced 2025-04-22 03:49:19 +08:00

chore: 添加临时文件,解决冲突

This commit is contained in:
pany 2024-12-02 17:01:06 +08:00
parent a12d7a1724
commit 79ee077d09

10
types/global-components.d.ts vendored Normal file
View File

@ -0,0 +1,10 @@
import type SvgIcon from "@@/components/SvgIcon/index.vue"
export {}
// 由 app.component 全局注册的组件需要在这里声明 TS 类型才能获得 Volar 插件提供的类型提示)
declare module "vue" {
export interface GlobalComponents {
SvgIcon: typeof SvgIcon
}
}