vue-glide
vue-glide copied to clipboard
Cannot read property 'querySelector' of undefined
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.
Wrap it in <client-only>
@nobleson did u resolve this? wrap it in <client-only>
as @callumflack said still doesn't work for me
I am also stuck. Anyone has any idea how to solve this?
does anyone have a solution?