import resize from './resize'

const install = function (Vue) {
    // 绑定v-adaptive指令
    Vue.directive('resize', resize)
}

// if (window.Vue) {
//     window['adaptive'] = adaptive
//     // eslint-disable-next-line no-undef
//     Vue.use(install)
// }

resize.install = install

export default resize
