RobinCK / vue-gallery

:camera: Responsive and customizable image and video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers. 🇺🇦
https://robinck.github.io/vue-gallery/
MIT License
470 stars 85 forks source link

VueGallery is not defined #119

Open aaidenduaban opened 4 years ago

aaidenduaban commented 4 years ago

Could not find a declaration file for module 'vue-gallery'. 'node_modules/vue-gallery/dist/js/vue-gallery.js' implicitly has an 'any' type. Try npm install @types/vue-gallery if it exists or add a new declaration (.d.ts) file containing declare module 'vue-gallery';ts(7016)

nuxt.config.js plugins: [{ src: '~/plugins/vue-gallery.client.js'}]

vue-gallery.client.js import Vue from 'vue' import VueGallery from 'vue-gallery'

Vue.component('vue-gallery', VueGallery)

index.vue components: { 'gallery': VueGallery },