build: 启用宏编译
This commit is contained in:
1
types/components.d.ts
vendored
1
types/components.d.ts
vendored
@ -8,6 +8,7 @@ export {}
|
||||
declare module 'vue' {
|
||||
export interface GlobalComponents {
|
||||
Button: typeof import('./../packages/button/index.vue')['default']
|
||||
ElAvatar: typeof import('element-plus/es')['ElAvatar']
|
||||
ElButton: typeof import('element-plus/es')['ElButton']
|
||||
ElCol: typeof import('element-plus/es')['ElCol']
|
||||
ElDialog: typeof import('element-plus/es')['ElDialog']
|
||||
|
@ -2,7 +2,7 @@
|
||||
* @Author: zhaojinfeng 121016171@qq.com
|
||||
* @Date: 2023-06-15 13:22:04
|
||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||
* @LastEditTime: 2023-06-21 11:32:48
|
||||
* @LastEditTime: 2023-07-20 13:05:21
|
||||
* @FilePath: \vue3\vite.config.ts
|
||||
* @Description:
|
||||
*
|
||||
@ -38,7 +38,7 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
vue(),
|
||||
vue({ reactivityTransform: true }),
|
||||
vueJsx(),
|
||||
libCss({}),
|
||||
AutoImport({
|
||||
|
Reference in New Issue
Block a user