You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.
I did the step exactly like what's written in readme, but I got errors using either way for Vue in React in my project.
The way "without the Babel plugin" -- using VueWrapper , I got the error which seems like an internal issue since the error comes from vuera.cjs.js.
TypeError: Vue is not a constructor
createVueInstance
node_modules/vuera/dist/vuera.cjs.js:258
The way "with Babel" (I set up Babel and use the component name without the wrapper), I got this error (Counter is my component name).
InvalidCharacterError: Failed to execute 'createElement' on 'Document': The tag name provided ('/static/media/Counter.c2c39f22.vue') is not a valid name.
▶ 14 stack frames were collapsed.
Module.<anonymous>
src/index.js:12
I don't understand why they result in different errors and how should I solve them? It's been bugging me for a few days and I'm not sure where I did wrong.
Thanks
The text was updated successfully, but these errors were encountered:
I realized afterwards that I got this error because I'm using Vue3 and this library only support Vue2. Check your Vue version, if you are using Vue3, use veaury library instead.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I did the step exactly like what's written in readme, but I got errors using either way for Vue in React in my project.
I don't understand why they result in different errors and how should I solve them? It's been bugging me for a few days and I'm not sure where I did wrong.
Thanks
The text was updated successfully, but these errors were encountered: