chore(docs): wrap Repl in client only

This commit is contained in:
braks
2022-11-13 19:13:43 +01:00
committed by Braks
parent cd03034bdb
commit 33403776dc
26 changed files with 163 additions and 317 deletions
+1 -10
View File
@@ -1,8 +1,3 @@
---
layout: page
---
# Horizontal Layout
Vue Flow doesn't require you to use vertical layouts.
@@ -11,9 +6,5 @@ You can use horizontal layouts with the default node types as well.
You can define where source or target handle positions are with the `sourcePosition` or `targetPosition` properties of nodes.
<div class="mt-6">
<ClientOnly>
<Suspense>
<Repl example="horizontal"></Repl>
</Suspense>
</ClientOnly>
<Repl example="horizontal"></Repl>
</div>