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

Uncaught TypeError: e.extend is not a function #73

Open
kavicka opened this issue Feb 5, 2023 · 1 comment
Open

Uncaught TypeError: e.extend is not a function #73

kavicka opened this issue Feb 5, 2023 · 1 comment

Comments

@kavicka
Copy link

kavicka commented Feb 5, 2023

Hello, after installing plugin via npm, it throws me error:

    at install (index.js:75:22)
    at Object.use (runtime-core.esm-bundler.js:4331:21)
    at main.js:33:5

in my main.js is:

import VueImg from 'v-img';

const vueImgConfig = {
    // Use `alt` attribute as gallery slide title
    altAsTitle: false,
    // Display 'download' button near 'close' that opens source image in new tab
    sourceButton: false,
    // Event listener to open gallery will be applied to <img> element
    openOn: 'click',
    // Show thumbnails for all groups with more than 1 image
    thumbnails: false,
  }

app.use(VueImg, vueImgConfig);
app.mount('#app')
@danperks
Copy link

I believe this is due to a lack of support for Vue 3

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