-
Notifications
You must be signed in to change notification settings - Fork 59
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
SSR not working with mq-layout
#32
Comments
same here. also when using |
When I am using |
@1shaked give it a go with https://github.com/vanhoofmaarten/nuxt-mq ;) |
I tried this library which causes the same issue; I tried moving away from it with vue-MQ |
Responsive design and SSR is complex. Please read: https://nitayneeman.com/posts/combining-server-side-rendering-and-responsive-design-using-react/ |
Good day,
I'm using ssr for my project, and if im using
<mq-layout mq="mobile">
it renders
<mq-layout>
instead of adiv
and ignores the breakpoint.When im using
<div v-if="$mq === 'mobile'>
it works as intented.This only happens while using SSR.
The text was updated successfully, but these errors were encountered: