vue-glide icon indicating copy to clipboard operation
vue-glide copied to clipboard

Cannot read property 'querySelector' of undefined

Open nobleson opened this issue 5 years ago • 4 comments

Hello, I have installed this plugin on Nuxt project run in spa mode. I have the error : Cannot read property 'querySelector' of undefined Here is my sample after importing glide as global. <vue-glide> <vue-glide-slide v-for="company in companyList" :key="company.id" xl="4" md="4" class="mb-3"> <mdb-view> <img :src="company.logo" class="img-fluid z-depth-1" alt="placeholder"> <mdb-mask flex-center overlay="teal-strong" :text="company.companyName" /> </mdb-view> </vue-glide-slide> </vue-glide> any help please.

nobleson avatar Jul 31 '19 17:07 nobleson

Wrap it in <client-only>

callumflack avatar Jun 05 '20 09:06 callumflack

@nobleson did u resolve this? wrap it in <client-only> as @callumflack said still doesn't work for me

denyramandaa avatar Jun 23 '20 08:06 denyramandaa

I am also stuck. Anyone has any idea how to solve this?

arnabrahman avatar Sep 17 '20 04:09 arnabrahman

does anyone have a solution?

rfatykhov avatar Mar 30 '21 15:03 rfatykhov