Akryum / floating-vue

💬 Easy tooltips, popovers, dropdown, menus... for Vue
https://floating-vue.starpad.dev/
MIT License
3.26k stars 333 forks source link

Compatibility issues with vue/compat #995

Open nikospapcom opened 9 months ago

nikospapcom commented 9 months ago

Hi @Akryum

I doing a migration from vue2 to vue3 with vue/compat The problem I have it that @apply-show and @apply-hide can't fire when I have vue/compat When I remove vue/compat @apply-show and @apply-hide works as expected any idea why or any suggestion about it?

Akryum commented 9 months ago

Weird, would you mind calling a small repo which reproduces that with Vue compat? Thanks

nikospapcom commented 9 months ago

@Akryum yes I will create a repo to reproduce

btw I don't know if it helps but in my webpack I have the following:

module.exports = {
  resolve: {
    alias: {
      vue: '@vue/compat',
    },
  },
  module: {
    rules: [
      {
        test: /\.vue$/,
        loader: 'vue-loader',
      },
    ],
  },
};

and i my app.js I have

configureCompat({
  INSTANCE_CHILDREN: true,
  RENDER_FUNCTION: false,
});

when I remove vue: '@vue/compat', everything works fine, when I add it back it doesn't work