Skip to content

Commit

Permalink
chore: 调整配置项
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudhao1999 committed Jun 29, 2022
1 parent 923801a commit 2ccf020
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 0 additions & 8 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,17 @@ declare module "@vue/runtime-core" {
ElAvatar: typeof import("element-plus/es")["ElAvatar"];
ElBreadcrumb: typeof import("element-plus/es")["ElBreadcrumb"];
ElBreadcrumbItem: typeof import("element-plus/es")["ElBreadcrumbItem"];
ElButton: typeof import("element-plus/es")["ElButton"];
ElCard: typeof import("element-plus/es")["ElCard"];
ElCol: typeof import("element-plus/es")["ElCol"];
ElColorPicker: typeof import("element-plus/es")["ElColorPicker"];
ElConfigProvider: typeof import("element-plus/es")["ElConfigProvider"];
ElContainer: typeof import("element-plus/es")["ElContainer"];
ElDialog: typeof import("element-plus/es")["ElDialog"];
ElDropdown: typeof import("element-plus/es")["ElDropdown"];
ElDropdownItem: typeof import("element-plus/es")["ElDropdownItem"];
ElDropdownMenu: typeof import("element-plus/es")["ElDropdownMenu"];
ElFormItem: typeof import("element-plus/es")["ElFormItem"];
ElHeader: typeof import("element-plus/es")["ElHeader"];
ElIcon: typeof import("element-plus/es")["ElIcon"];
ElMain: typeof import("element-plus/es")["ElMain"];
ElMenuItem: typeof import("element-plus/es")["ElMenuItem"];
ElPagination: typeof import("element-plus/es")["ElPagination"];
ElPopconfirm: typeof import("element-plus/es")["ElPopconfirm"];
ElRow: typeof import("element-plus/es")["ElRow"];
ElSpace: typeof import("element-plus/es")["ElSpace"];
ElSubMenu: typeof import("element-plus/es")["ElSubMenu"];
Expand All @@ -42,12 +36,10 @@ declare module "@vue/runtime-core" {
IMdiFullscreen: typeof import("~icons/mdi/fullscreen")["default"];
IMdiFullscreenExit: typeof import("~icons/mdi/fullscreen-exit")["default"];
IMdiGoogleTranslate: typeof import("~icons/mdi/google-translate")["default"];
IMdiQqchat: typeof import("~icons/mdi/qqchat")["default"];
IMdiRefresh: typeof import("~icons/mdi/refresh")["default"];
IMdiTrendingDown: typeof import("~icons/mdi/trending-down")["default"];
IMdiTrendingUp: typeof import("~icons/mdi/trending-up")["default"];
IMdiWeatherNight: typeof import("~icons/mdi/weather-night")["default"];
IMdiWechat: typeof import("~icons/mdi/wechat")["default"];
IMdiWhiteBalanceSunny: typeof import("~icons/mdi/white-balance-sunny")["default"];
Loading: typeof import("element-plus/es")["ElLoadingDirective"];
Panel: typeof import("./src/components/Panel.vue")["default"];
Expand Down
6 changes: 3 additions & 3 deletions vite/plugins/autoImport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import IconsResolver from "unplugin-icons/resolver";
export default function autoImport(plugins: Plugin[]) {
plugins.push(
AutoImport({
resolvers: [ElementPlusResolver()],
dts: true,
imports: ["vue", "vue-router"],
resolvers: [ElementPlusResolver()],
eslintrc: {
enabled: true
},
imports: ["vue", "vue-router"]
}
}),
Components({
dts: true,
Expand Down

0 comments on commit 2ccf020

Please sign in to comment.