Skip to content

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

Description

@popcari

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions