feat(unocss): 添加组件类型声明并扩展unocss配置

添加fg-navbar组件类型声明文件
扩展unocss配置,新增安全区域间距规则、主题色配置及常用快捷类
This commit is contained in:
feige996
2025-05-26 23:17:57 +08:00
parent 43a3232368
commit b48ef5eb29
2 changed files with 46 additions and 1 deletions

12
src/types/components.d.ts vendored Normal file
View File

@@ -0,0 +1,12 @@
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by vite-plugin-uni-components
// Read more: https://github.com/vuejs/core/pull/3399
export {}
declare module 'vue' {
export interface GlobalComponents {
FgNavbar: typeof import('./../components/fg-navbar/fg-navbar.vue')['default']
}
}