vc-popup
Version:
vue popup components with power position and animation support and back key support as well
22 lines (16 loc) • 401 B
JavaScript
import { popupRegister, effectRegister } from '../../src/components/popup-base'
const version = '0.1.25'
const install = function (Vue, config = {}) {
if (install.installed) return
require('../../src/components/popup-base')
}
// auto install
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue)
}
export default {
install,
version,
popupRegister,
effectRegister
}