v-img
v-img copied to clipboard
Uncaught TypeError: e.extend is not a function
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')
I believe this is due to a lack of support for Vue 3