Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compatibility issues with vue/compat #995

Open
nikospapcom opened this issue Oct 28, 2023 · 2 comments
Open

Compatibility issues with vue/compat #995

nikospapcom opened this issue Oct 28, 2023 · 2 comments

Comments

@nikospapcom
Copy link

nikospapcom commented Oct 28, 2023

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
Copy link
Owner

Akryum commented Oct 28, 2023

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

@nikospapcom
Copy link
Author

nikospapcom commented Oct 28, 2023

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants