v-calendar: "export 'default' (imported as 'Calendar') was not found in 'v-calendar/lib/components/calendar.umd'
v1.0.1 and 1.0.0-beta.23
"export 'default' (imported as 'Calendar') was not found in 'v-calendar/lib/components/calendar.umd'
but the same is returned if I include VCalendar if I do plugins or components methods of installing.
Only code is:
import Calendar from 'v-calendar/lib/components/calendar.umd'
and
components: { Calendar },
What could possibly be the issue?
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 11
- Comments: 25 (3 by maintainers)
For anyone still having issues with this, if you are using Vue 3 then you need to use the ‘next’ branch of this project.
see https://github.com/nathanreyes/v-calendar/issues/716
Solutions used by myself
and then, it work
Getting the same error in
2.4.1
, was this ever fixed?😃 Just noticed that this issue is a duplicate of: https://github.com/nathanreyes/v-calendar/issues/505 ! There is a great hint from @neontuna: Downgrading to 1.0.0-beta.22 works for now.
So in my case, I needed to run:
And modify my TS code slighlty:
This took me two days. Now it’s working 🎉 Thanks!
I have the same issue no matter what method and version I use. I’ve tried v-calendar@1.0.0-beta.22 and 1.0.7-beta.0.