Closed vinodugale257 closed 4 years ago
Hi @vinodugale257!
Thanks for using the component.
What's happening there it's that those divs are using those images as backgrounds, and those divs are empty, so that's why their heights are 0.
I did a JSFiddle, with examples with divs and background images and with img tags too.
So basically it was a css problem.
If I wasn't clear or you need any other help, please let me know.
@lucaspulliese thanks, i had the same problem. you saved me a lot of time
Hello @lucaspulliese,
I am trying to integrate vue-cool-lightbox in nuxtjs project but facing some issue.
I install the package via yarn
yarn add vue-cool-lightbox
I created cool-lightbox.js inside the plugins directory with following code.
then include the plugin inside nuxt.config.js
plugins: [{ src: '~/plugins/cool-lightbox', ssr: false }],
Finally, I created Gallery.vue inside pages directory with following code.
When I navigate to http://localhost:3000/gallery I am not able to see vue-cool-lightbox is integrated.
I can see the images gets loaded inside DOM in the console.
Please help me out.....
https://github.com/vinodugale257/nuxt-cool-lightbox