Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 926 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 926 Bytes

workflow-vue

Workflow drawing and configuration based on vue3

Vue3 License Document Npm

用法

<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>