乐趣区

关于vue.js:vue30-集中-导出组件

import ActiveControl from "./activeControl.vue";
import PlanControl from "./planControl.vue";
import RelationPlan from "./relationPlan.vue";


(ActiveControl as any).install = (Vue: any) => {Vue.component(ActiveControl.name, ActiveControl)
}
(PlanControl as any).install = (Vue: any) => {Vue.component(PlanControl.name, PlanControl)
}
(RelationPlan as any).install = (Vue: any) => {Vue.component(RelationPlan.name, RelationPlan)
}

export {
  ActiveControl,
  PlanControl,
  RelationPlan
}
退出移动版