npm
npm i snowy-bpmn
yarn
yarn add snowy-bpmn
main.js
import 'snowy-bpmn/dist/style.css'
App.vue
<template>
<snowy-bpmn :testName="testName" />
</template>
<script>
import SnowyBpmn from 'snowy-bpmn/dist/process-design.es'
export default {
name: 'App',
components: {
SnowyBpmn
},
data() {
return {
testName: ''
}
},
mounted() {
setInterval(() => {
this.testName++
}, 500)
}
}
</script>