Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'querySelector' of undefined #38

Open
nobleson opened this issue Jul 31, 2019 · 4 comments
Open

Cannot read property 'querySelector' of undefined #38

nobleson opened this issue Jul 31, 2019 · 4 comments

Comments

@nobleson
Copy link

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.

@callumflack
Copy link

callumflack commented Jun 5, 2020

Wrap it in <client-only>

@denyramandaa
Copy link

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

@arnabrahman
Copy link

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

@rfatykhov
Copy link

does anyone have a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants