Skip to content

Commit

Permalink
refactor: 禁用autoImport ts类型自动生成(已放到git中无需再次生成)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuntian001 committed Jan 6, 2023
1 parent b5ee3ea commit 31f3566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/autoImportApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ export default () =>
// 自动加载API
imports: ['vue', 'vue-router', 'pinia', '@vueuse/core'],
// 可以选择auto-imports.d.ts生成的位置,使用ts建议设置为'src/auto-imports.d.ts'
dts: pathResolve('types/auto-imports.d.ts'),
dts: false, // pathResolve('types/auto-imports.d.ts'),
resolvers: [ElementPlusResolver()],
});

0 comments on commit 31f3566

Please sign in to comment.