chore: 自动按需导入 element-plus

This commit is contained in:
pany
2022-04-21 12:22:35 +08:00
parent 09f941a7b7
commit 5ce6eb37ca
7 changed files with 507 additions and 2 deletions

13
components.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
// Read more: https://github.com/vuejs/vue-next/pull/3399
import '@vue/runtime-core'
declare module '@vue/runtime-core' {
export interface GlobalComponents {
ElButton: typeof import('element-plus/es')['ElButton']
HelloWorld: typeof import('./src/components/HelloWorld.vue')['default']
}
}
export {}