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
Hello, I am trying to build a universal library for renderless components and composables as a plugin for Vue2 and Vue3 with the use of vue-demi. When I try to use the plugin in my Vue3 application locally via yarn link I get the following error: Excessive stack depth comparing types 'Plugin_2' and 'Plugin_2'. I am not sure if this is related to vue-demi, but I assume that, because my Vue3 application seems to interpret this plugin as a Vue2 plugin I guess.
So I assume this has something to do with the local development but I am not sure why, because the /dist folder is the same as what is published on npm. So how can I make it work locally in development, because I can't always publish on npm first to check new change.
Hello, I am trying to build a universal library for renderless components and composables as a plugin for Vue2 and Vue3 with the use of
vue-demi
. When I try to use the plugin in my Vue3 application locally viayarn link
I get the following error:Excessive stack depth comparing types 'Plugin_2' and 'Plugin_2'
. I am not sure if this is related tovue-demi
, but I assume that, because my Vue3 application seems to interpret this plugin as a Vue2 plugin I guess.This is the repository of the Plugin: https://github.com/whitelabel-market/wallet-connector-vue
The plugin is created like this:
You can reproduce this when you use the library as follows:
The VSCode intellisense also shows me this error directly:
One thing I noticed is, that when I use this not as a plugin and just import the components directly, it works. The following example also works:
Only when using this as a plugin as described above, it doesn't work. I really need help here, because I have absolutely no idea how to fix this.
The text was updated successfully, but these errors were encountered: