Closed kdcl closed 6 years ago
Hi, i wrote in a check for the global vue. A workaround on your side would be to define "Vue" as global in webpack config.
I would recommend you to import the commonjs module with import vueResponsive from 'vue-responsive/dist/Vue_Responsive.common'
For instance in your app.vue you can write
import vueResponsive from 'vue-responsive/dist/Vue_Responsive.common' import Vue from 'vue' Vue.directive('responsiveness', vueResponsive);
to define the directive globaly.
thank for your project( vue-resposive) , but when i use in vue-cli, use import to my vue file,