floating-vue icon indicating copy to clipboard operation
floating-vue copied to clipboard

Compatibility issues with vue/compat

Open nikospapcom opened this issue 2 years ago • 2 comments

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?

nikospapcom avatar Oct 28 '23 11:10 nikospapcom

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

Akryum avatar Oct 28 '23 11:10 Akryum

@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

nikospapcom avatar Oct 28 '23 11:10 nikospapcom