From 0a9c1b07172ce254119e0fe25efe65f4e40d9b9d Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 21 Oct 2021 14:55:19 +0200 Subject: [PATCH] update(examples): Add multi flows example --- examples/MultiFlows/Flow.vue | 20 ++++++++++++++++++++ examples/MultiFlows/MultiFlowsExample.vue | 10 ++++++++++ examples/MultiFlows/multiflows.css | 13 +++++++++++++ examples/router.ts | 4 ++++ 4 files changed, 47 insertions(+) create mode 100644 examples/MultiFlows/Flow.vue create mode 100644 examples/MultiFlows/MultiFlowsExample.vue create mode 100644 examples/MultiFlows/multiflows.css diff --git a/examples/MultiFlows/Flow.vue b/examples/MultiFlows/Flow.vue new file mode 100644 index 00000000..8a4a0bb8 --- /dev/null +++ b/examples/MultiFlows/Flow.vue @@ -0,0 +1,20 @@ + + diff --git a/examples/MultiFlows/MultiFlowsExample.vue b/examples/MultiFlows/MultiFlowsExample.vue new file mode 100644 index 00000000..c04ee41b --- /dev/null +++ b/examples/MultiFlows/MultiFlowsExample.vue @@ -0,0 +1,10 @@ + + diff --git a/examples/MultiFlows/multiflows.css b/examples/MultiFlows/multiflows.css new file mode 100644 index 00000000..9f7e042c --- /dev/null +++ b/examples/MultiFlows/multiflows.css @@ -0,0 +1,13 @@ +.vue-flow__example-multiflows { + display: flex; + height: 100%; +} + +.vue-flow__example-multiflows .vue-flow { + width: 100%; + height: 100%; +} + +.vue-flow__example-multiflows .vue-flow:first-child { + border-right: 2px solid #333; +} diff --git a/examples/router.ts b/examples/router.ts index 400b58b2..b0322df8 100644 --- a/examples/router.ts +++ b/examples/router.ts @@ -49,6 +49,10 @@ export const routes: RouterOptions['routes'] = [ path: '/layouting', component: () => import('./Layouting/LayoutingExample.vue'), }, + { + path: '/multi-flows', + component: () => import('./MultiFlows/MultiFlowsExample.vue'), + }, ] export const router = createRouter({