var runtime = {};
export function getRuntimeVM() {
if (runtime.vm)
return runtime.vm;
throw new ReferenceError('[vue-hooks] Not found vue instance.');
}
export function setRuntimeVM(vue) {
var vm = this || vue;
if (typeof vm.$options.setup === 'function') {
runtime.vm = vm;
}
}