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.
- 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
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