Created
June 2, 2019 19:36
-
-
Save skydiver/25b345d526e394ec6468d5c06438bc7f to your computer and use it in GitHub Desktop.
Vue MQ (MediaQuery) + Nuxt.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Vue from 'vue'; | |
import VueMq from 'vue-mq'; | |
Vue.use(VueMq, { | |
breakpoints: { | |
xs: 576, | |
sm: 768, | |
md: 992, | |
lg: 1200, | |
xl: Infinity | |
}, | |
defaultBreakpoint: 'lg' | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wget -O plugins/vue-mq.js https://gist.githubusercontent.com/skydiver/25b345d526e394ec6468d5c06438bc7f/raw/vue-mq.js