workflow-vue
v1.0.0
Published
workflow drawing and configuration based on vue3
Downloads
4
Readme
workflow-vue
Workflow drawing and configuration based on vue3
用法
<template>
<WorkflowVue ref="workflowRef"></WorkflowVue>
</template>
<script setup>
import { onMounted, ref } from 'vue'
import WorkflowVue from 'workflow-vue'
import 'workflow-vue/dist/style.css'
import config from './config'
const workflowRef = ref()
onMounted(() => {
workflowRef.value?.setConfig(config)
})
<script>