vue-vben-admin/src/components/FlowChart/index.ts

9 lines
203 B
TypeScript
Raw Normal View History

2021-04-17 18:42:14 +08:00
import type { App } from 'vue';
2021-04-17 18:36:49 +08:00
import flowChart from './src/index.vue';
2021-04-17 06:06:08 +08:00
2021-04-17 18:36:49 +08:00
export const FlowChart = Object.assign(flowChart, {
2021-04-17 06:06:08 +08:00
install(app: App) {
2021-04-17 18:36:49 +08:00
app.component(flowChart.name, flowChart);
2021-04-17 06:06:08 +08:00
},
});