Is it possible to generate a es6 javascript browser module build compatible with the vue.esm.browser.js build?
Not that I know of, with Vue CLI anyways. That would be convenient for local testing.
I haven't investigated much further than that though
I have issue with es6 vue: TypeError: t is not a constructor
This precludes using 1.0 in Nuxt
Also having issues when trying to register it in a SFC:
import { setupCalendar, Calendar } from 'v-calendar'
setupCalendar({ ... })
export default {
components: { Calendar }
}
Gives me the same error (TypeError: t is not a constructor).
There's no errors when registering it globally though.
I'm on version 1.0.0-beta.14
I'm having the same issue.
Before I was using 0.9.2 and I can use it locally in my component. I just need to call setupCalendar() in created hook.
After upgrade to 1.0.0-beta.16, register globally is the only way to use it.
What is the current status? Looks like it haven't been solved.
Most helpful comment
Also having issues when trying to register it in a SFC:
Gives me the same error (
TypeError: t is not a constructor).There's no errors when registering it globally though.
I'm on version
1.0.0-beta.14