AStaroverov / v-media-query

easy media query for vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Uncaught TypeError: Cannot read property 'installed' of undefined in vue 1.0.21

Ridermansb opened this issue · comments

In main.js

import vMediaQuery from 'v-media-query'
Vue.use(vMediaQuery.default)

That did not worked, but:

var vMediaQuery = require('v-media-query')
Vue.use(vMediaQuery.default)

works...

kazupon/vue-validator#116

Try
import vMediaQuery from 'v-media-query' Vue.use(vMediaQuery)

пн, 19 сент. 2016 г., 16:58 Carlos Nogueira notifications@github.com:

That did not worked, but:

var vMediaQuery = require('v-media-query')
Vue.use(vMediaQuery.default)

works...

kazupon/vue-validator#116
kazupon/vue-validator#116


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFYL2ZoADUFcZTA6htTF_XXMm5QLU3tMks5qrpUcgaJpZM4J9Ovd
.

Works fine, thanks on v1.0.26.

No problem

пн, 19 сент. 2016 г., 18:21 Carlos Nogueira notifications@github.com:

Works fine, thanks


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#1 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFYL2Roxf6UTrigHNGRXiDTTd_lB-XELks5qrqhlgaJpZM4J9Ovd
.

Thanks, works fine too