From 4ed02e347197f37909aab82fd19f85886b120ba5 Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期一, 12 五月 2025 09:08:14 +0800
Subject: [PATCH] 设置unplugin-auto-import默认不生成类型文件
---
/dev/null | 71 -----------------------------------
vite/plugins/index.js | 1
2 files changed, 1 insertions(+), 71 deletions(-)
diff --git a/components.d.ts b/components.d.ts
deleted file mode 100644
index 6646828..0000000
--- a/components.d.ts
+++ /dev/null
@@ -1,71 +0,0 @@
-/* eslint-disable */
-// @ts-nocheck
-// Generated by unplugin-vue-components
-// Read more: https://github.com/vuejs/core/pull/3399
-// biome-ignore lint: disable
-export {}
-
-/* prettier-ignore */
-declare module 'vue' {
- export interface GlobalComponents {
- Breadcrumb: typeof import('./src/components/Breadcrumb/index.vue')['default']
- Crontab: typeof import('./src/components/Crontab/index.vue')['default']
- Day: typeof import('./src/components/Crontab/day.vue')['default']
- DictTag: typeof import('./src/components/DictTag/index.vue')['default']
- Doc: typeof import('./src/components/RuoYi/Doc/index.vue')['default']
- Editor: typeof import('./src/components/Editor/index.vue')['default']
- ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
- ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
- ElButton: typeof import('element-plus/es')['ElButton']
- ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
- ElCol: typeof import('element-plus/es')['ElCol']
- ElColorPicker: typeof import('element-plus/es')['ElColorPicker']
- ElDialog: typeof import('element-plus/es')['ElDialog']
- ElDivider: typeof import('element-plus/es')['ElDivider']
- ElDrawer: typeof import('element-plus/es')['ElDrawer']
- ElDropdown: typeof import('element-plus/es')['ElDropdown']
- ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
- ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
- ElIcon: typeof import('element-plus/es')['ElIcon']
- ElImage: typeof import('element-plus/es')['ElImage']
- ElLink: typeof import('element-plus/es')['ElLink']
- ElMenu: typeof import('element-plus/es')['ElMenu']
- ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
- ElOption: typeof import('element-plus/es')['ElOption']
- ElPagination: typeof import('element-plus/es')['ElPagination']
- ElRow: typeof import('element-plus/es')['ElRow']
- ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
- ElSelect: typeof import('element-plus/es')['ElSelect']
- ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
- ElSwitch: typeof import('element-plus/es')['ElSwitch']
- ElTag: typeof import('element-plus/es')['ElTag']
- ElTooltip: typeof import('element-plus/es')['ElTooltip']
- ElTransfer: typeof import('element-plus/es')['ElTransfer']
- ElUpload: typeof import('element-plus/es')['ElUpload']
- FileUpload: typeof import('./src/components/FileUpload/index.vue')['default']
- Git: typeof import('./src/components/RuoYi/Git/index.vue')['default']
- Hamburger: typeof import('./src/components/Hamburger/index.vue')['default']
- HeaderSearch: typeof import('./src/components/HeaderSearch/index.vue')['default']
- Hour: typeof import('./src/components/Crontab/hour.vue')['default']
- HxlhTable: typeof import('./src/components/HxlhTable/index.vue')['default']
- IconSelect: typeof import('./src/components/IconSelect/index.vue')['default']
- IFrame: typeof import('./src/components/iFrame/index.vue')['default']
- ImagePreview: typeof import('./src/components/ImagePreview/index.vue')['default']
- ImageUpload: typeof import('./src/components/ImageUpload/index.vue')['default']
- Min: typeof import('./src/components/Crontab/min.vue')['default']
- Month: typeof import('./src/components/Crontab/month.vue')['default']
- Pagination: typeof import('./src/components/Pagination/index.vue')['default']
- ParentView: typeof import('./src/components/ParentView/index.vue')['default']
- Result: typeof import('./src/components/Crontab/result.vue')['default']
- RightToolbar: typeof import('./src/components/RightToolbar/index.vue')['default']
- RouterLink: typeof import('vue-router')['RouterLink']
- RouterView: typeof import('vue-router')['RouterView']
- Screenfull: typeof import('./src/components/Screenfull/index.vue')['default']
- Second: typeof import('./src/components/Crontab/second.vue')['default']
- SizeSelect: typeof import('./src/components/SizeSelect/index.vue')['default']
- SvgIcon: typeof import('./src/components/SvgIcon/index.vue')['default']
- TopNav: typeof import('./src/components/TopNav/index.vue')['default']
- Week: typeof import('./src/components/Crontab/week.vue')['default']
- Year: typeof import('./src/components/Crontab/year.vue')['default']
- }
-}
diff --git a/vite/plugins/index.js b/vite/plugins/index.js
index 5887b84..a468d6f 100644
--- a/vite/plugins/index.js
+++ b/vite/plugins/index.js
@@ -19,6 +19,7 @@
resolvers: [ElementPlusResolver()],
}),
Components({
+ dts: false,
// 鑷姩瀵煎叆 Element Plus 缁勪欢
resolvers: [ElementPlusResolver()],
}),
--
Gitblit v1.9.3