docs: add toolbar example

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
braks
2022-12-09 20:52:01 +01:00
committed by Braks
parent c37bb8a3cf
commit 52c23e9770
7 changed files with 109 additions and 0 deletions
+4
View File
@@ -12,6 +12,10 @@ export function copyVueFlowPlugin(): Plugin {
path: '../../../node_modules/@vue-flow/additional-components/dist/',
pkgName: 'vue-flow-additional-components.mjs',
},
{
path: '../../../node_modules/@vue-flow/node-toolbar/dist/',
pkgName: 'vue-flow-node-toolbar.mjs',
},
].forEach(({ path, pkgName }) => {
const filePath = resolve(__dirname, `${path}/${pkgName}`)
if (!existsSync(filePath)) {