Closed reualex closed 3 years ago
BTW, my package didn't use btoa. I am not sure about this warning
BTW, my package didn't use btoa. I am not sure about this warning
Yep, me too. But If I don't use plugin this error dissapear.
` [Vue warn]: Error in beforeCreate hook: "ReferenceError: btoa is not defined" 09:57:11
found in
<VueModal2>
<ModalsWindows> at components/Common/ModalsWindows/index.vue
<DefaultLayout> at layouts/default.vue
<Root>`
It is full error message
are you using Nuxt or just Vue? which version?
I'm using nuxt version 2.15.3
solution : wrapped with <client-only> </client-only>
(previously` no-ssr)
yes for Nuxt you need to wrap it https://initbase.github.io/vue-modal-2/installation/vue-2x.html#nuxt
When you running your nuxt application at the first time, get error:
[Vue warn]: Error in beforeCreate hook: "ReferenceError: btoa is not defined"
After save any component - the error disappears.