Fix element-plus CSS import
This commit is contained in:
parent
9abcc06b64
commit
29862c0b17
4
src/components.d.ts
vendored
4
src/components.d.ts
vendored
@ -11,11 +11,7 @@ declare module '@vue/runtime-core' {
|
|||||||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
||||||
Footer: typeof import('./components/Footer.vue')['default']
|
Footer: typeof import('./components/Footer.vue')['default']
|
||||||
Nav: typeof import('./components/Nav.vue')['default']
|
Nav: typeof import('./components/Nav.vue')['default']
|
||||||
README: typeof import('./components/README.md')['default']
|
|
||||||
RouterLink: typeof import('vue-router')['RouterLink']
|
RouterLink: typeof import('vue-router')['RouterLink']
|
||||||
RouterView: typeof import('vue-router')['RouterView']
|
RouterView: typeof import('vue-router')['RouterView']
|
||||||
TheCounter: typeof import('./components/TheCounter.vue')['default']
|
|
||||||
TheFooter: typeof import('./components/TheFooter.vue')['default']
|
|
||||||
TheInput: typeof import('./components/TheInput.vue')['default']
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -166,6 +166,6 @@ export default defineConfig({
|
|||||||
|
|
||||||
ssr: {
|
ssr: {
|
||||||
// TODO: workaround until they support native ESM
|
// TODO: workaround until they support native ESM
|
||||||
noExternal: ['workbox-window', /vue-i18n/],
|
noExternal: ['workbox-window', /vue-i18n/, 'element-plus'],
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user