EranGrin/vue-web-component-wrapper

Error when running vite demo on current github version. Stackblitz version works fine

Closed this issue · 9 comments

Hey,

I have tried your project and I encountered an error when running the vite demo from the downloaded source files:
grafik

I do get a similar error when I try to use your wrapper in my own project (via npm install).
I also tried to download the source code of yout Stackblitz example, which works fine:
grafik

Maybe you can take a look?

I'll check it this evening, thanks

Hello Moritz, I would suggest you check the project first in stackblitz [project link](https://stackblitz.com/edit/vue-web-
component-wrapper?file=README.md&startScript=vite-demo)
if you still didn't mange to make it working, ping me again and we will debug it

Hello Moritz, I would suggest you check the project first in stackblitz [project link](https://stackblitz.com/edit/vue-web- component-wrapper?file=README.md&startScript=vite-demo) if you still didn't mange to make it working, ping me again and we will debug it

Hey Eran,
as I wrote in my first post I did try the code from Stackblitz, which I downloaded directly from there and it does work fine. My Issues however persists with the newest version of the main branch here on github

To add to that: I also tried to construct a minimal example, basically just installing the vue-web-component-wrapper and changing the main.js file: https://stackblitz.com/edit/vitejs-vite-cssrks?file=package.json

With some further Testing I can confirm that the Issue lies with the newest version 1.1.0
With my Stackblitz Example above, I got it working with version 1.0.5

Alrighty, this narrows down the issue, I'll push a bugfix later on today.
Thanks for the issue finding

Hi There,
I released a new version with fixes,
hopefully, this will resolve this silly issue.

works for me now, thank you!