Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"import Toggle from '@vueform/toggle'" makes error when building (Vue3 compositionAPI + Vite) #17

Open
popcari opened this issue Apr 5, 2024 · 0 comments

Comments

@popcari
Copy link

popcari commented Apr 5, 2024

image
I try to build my app using vue3+vite and I met the error:
error TS1192: Module '"/xxx/yyy/zzz/node_modules/@vueform/toggle/src/index"' has no default export.

104 import Toggle from "@vueform/toggle";
~~~~~~

node_modules/@vueform/toggle/src/index.d.ts:1:1
1 export * from './Toggle';
~~~~~~~~~~~~~~~~~~~~~~~~~
'export *' does not re-export a default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant