yarn install
yarn serve
yarn build
yarn lint
- add zoom in, zoom out, shortcuts
- add properties panel
- add camunda platform
You can easily create something yourself by using the ZoomScroll module 193
const zoomScroll = modeler.get('zoomScroll');
zoomScroll.reset();
zoomScroll.stepZoom(1);
zoomScroll.stepZoom(-1);
The buttons are not part of bpmn-js, but simple HTML elements which execute these methods.
@vue/babel-plugin-transform-vue-jsx @vue/babel-helper-vue-jsx-merge-props
// cli v4 cl5 去掉了file-loader, url-loader, raw-loader
config.module
.rule('images')
.use('url-loader')
.loader('url-loader')
.tap(options => Object.assign(options, { limit: 20000 }))
config.module
.rule('images')
.set('parser', {
dataUrlCondition: {
maxSize: 4 * 1024 // 4KiB
}
})
links https://webpack.docschina.org/guides/asset-modules/#root https://next.cli.vuejs.org/migrations/migrate-from-v4.html#vue-cli-service
diagram-js
https://commerce.nearform.com/blog/2018/finding-webpack-duplicates-with-inspectpack-plugin/
https://www.developerway.com/posts/webpack-and-yarn-magic-against-duplicates-in-bundles
// min-dash htm preact