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' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
Button: typeof import('./../packages/button/index.vue')['default']
|
Button: typeof import('./../packages/button/index.vue')['default']
|
||||||
|
ElAvatar: typeof import('element-plus/es')['ElAvatar']
|
||||||
ElButton: typeof import('element-plus/es')['ElButton']
|
ElButton: typeof import('element-plus/es')['ElButton']
|
||||||
ElCol: typeof import('element-plus/es')['ElCol']
|
ElCol: typeof import('element-plus/es')['ElCol']
|
||||||
ElDialog: typeof import('element-plus/es')['ElDialog']
|
ElDialog: typeof import('element-plus/es')['ElDialog']
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* @Author: zhaojinfeng 121016171@qq.com
|
* @Author: zhaojinfeng 121016171@qq.com
|
||||||
* @Date: 2023-06-15 13:22:04
|
* @Date: 2023-06-15 13:22:04
|
||||||
* @LastEditors: zhaojinfeng 121016171@qq.com
|
* @LastEditors: zhaojinfeng 121016171@qq.com
|
||||||
* @LastEditTime: 2023-06-21 11:32:48
|
* @LastEditTime: 2023-07-20 13:05:21
|
||||||
* @FilePath: \vue3\vite.config.ts
|
* @FilePath: \vue3\vite.config.ts
|
||||||
* @Description:
|
* @Description:
|
||||||
*
|
*
|
||||||
@ -38,7 +38,7 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
vue(),
|
vue({ reactivityTransform: true }),
|
||||||
vueJsx(),
|
vueJsx(),
|
||||||
libCss({}),
|
libCss({}),
|
||||||
AutoImport({
|
AutoImport({
|
||||||
|
Reference in New Issue
Block a user