diff --git a/src/components.d.ts b/src/components.d.ts index bef8a2b..d833f74 100644 --- a/src/components.d.ts +++ b/src/components.d.ts @@ -11,11 +11,7 @@ declare module '@vue/runtime-core' { ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] Footer: typeof import('./components/Footer.vue')['default'] Nav: typeof import('./components/Nav.vue')['default'] - README: typeof import('./components/README.md')['default'] RouterLink: typeof import('vue-router')['RouterLink'] 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'] } } diff --git a/vite.config.ts b/vite.config.ts index f9e9306..afd705e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -166,6 +166,6 @@ export default defineConfig({ ssr: { // TODO: workaround until they support native ESM - noExternal: ['workbox-window', /vue-i18n/], + noExternal: ['workbox-window', /vue-i18n/, 'element-plus'], }, })