Skip to content

Commit 46f3892

Browse files
committed
chore(docs): add new sandbox links to docs
Signed-off-by: braks <[email protected]>
1 parent dbd9330 commit 46f3892

File tree

2 files changed

+39
-3
lines changed

2 files changed

+39
-3
lines changed

docs/src/guide/getting-started.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ title: Getting Started
33
---
44

55
<script setup>
6+
import VueJs from '~icons/mdi/vuejs';
67
import LogosJavascript from '~icons/logos/javascript';
78
import LogosTypescript from '~icons/logos/typescript-icon';
89
</script>
@@ -23,9 +24,24 @@ Before you strap in, make sure you're equipped with:
2324
- [Node.js v20 or above](https://nodejs.org/)
2425
- [Vue 3.3 or above](https://vuejs.org/)
2526

26-
## CodeSandbox
27+
## <span class="flex gap-2 items-center"> <VueJs class="text-primary" /> Play Online</span>
2728

28-
If you're looking for a quick way to get started, check out the [CodeSandbox template](https://codesandbox.io/p/sandbox/vue-flow-basic-gfgro4).
29+
Try out the sandbox starter templates for Vue Flow in JavaScript and TypeScript and get a feel for the library.
30+
31+
<div class="flex flex-col gap-4 md:flex-row md:gap-8">
32+
<a href="https://new.vueflow.dev/js" class="flex-1 !no-underline">
33+
<div class="flex items-center gap-4 p-4 rounded-lg border-1 border-primary dark:bg-secondary">
34+
<LogosJavascript class="text-accent text-2xl" />
35+
<h3 class="!m-0 font-semibold">new.vueflow.dev/js</h3>
36+
</div>
37+
</a>
38+
<a href="https://new.vueflow.dev/ts" class="flex-1 !no-underline">
39+
<div class="flex items-center gap-4 p-4 rounded-lg shadow-md border-1 border-primary dark:bg-secondary">
40+
<LogosTypescript class="text-accent text-2xl" />
41+
<h3 class="!m-0 font-semibold">new.vueflow.dev/ts</h3>
42+
</div>
43+
</a>
44+
</div>
2945

3046
## Installation
3147

docs/src/guide/index.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ import Gamepad from '~icons/mdi/gamepad';
1616
import Wrench from '~icons/mdi/wrench';
1717
import ArrowExpand from '~icons/mdi/arrow-expand';
1818
import LockCheck from '~icons/mdi/lock-check';
19+
import VueJs from '~icons/mdi/vuejs';
20+
import LogosJavascript from '~icons/logos/javascript';
21+
import LogosTypescript from '~icons/logos/typescript-icon';
1922
</script>
2023

2124
# Welcome to Vue Flow!
@@ -30,7 +33,24 @@ bespoke nodes and edges.
3033
Additional components such as Background, Minimap, and Controls further enrich the interface,
3134
transforming your creations into engaging platforms.
3235

33-
Explore the [examples](/examples/) or checkout the [CodeSandbox template](https://codesandbox.io/p/sandbox/vue-flow-basic-gfgro4) if you're eager to jump right in and get your hands on some code!
36+
## <span class="flex gap-2 items-center"> <VueJs class="text-primary" /> Play Online</span>
37+
38+
Try out the sandbox starter templates for Vue Flow in JavaScript and TypeScript and get a feel for the library.
39+
40+
<div class="flex flex-col gap-4 md:flex-row md:gap-8">
41+
<a href="https://new.vueflow.dev/js" class="flex-1 !no-underline">
42+
<div class="flex items-center gap-4 p-4 rounded-lg border-1 border-primary dark:bg-secondary">
43+
<LogosJavascript class="text-accent text-2xl" />
44+
<h3 class="!m-0 font-semibold">new.vueflow.dev/js</h3>
45+
</div>
46+
</a>
47+
<a href="https://new.vueflow.dev/ts" class="flex-1 !no-underline">
48+
<div class="flex items-center gap-4 p-4 rounded-lg shadow-md border-1 border-primary dark:bg-secondary">
49+
<LogosTypescript class="text-accent text-2xl" />
50+
<h3 class="!m-0 font-semibold">new.vueflow.dev/ts</h3>
51+
</div>
52+
</a>
53+
</div>
3454

3555
## <span class="flex gap-2 items-center"><Flash class="text-yellow-500" /> Key Features</span>
3656

0 commit comments

Comments
 (0)