vue-node-editer
Version:
vue-node-editer
24 lines (18 loc) • 411 B
JavaScript
import wfnodeedit from "./wfnodeedit.vue";
const components = {
wfnodeedit,
}
const install = function (Vue) {
if (install.installed) return
install.installed = true
for (const key in components) {
let item = components[key];
Vue.component(item.name, item)
}
}
if (typeof window !== 'undefined' && window.Vue) {
install(window.Vue)
}
export default {
install
}