chore(docs): Replace a-tags with router-links
This commit is contained in:
@@ -102,7 +102,7 @@ onPaneReady((i) => emit('pane', i))
|
||||
Vue Flow includes a MiniMap, Controls and Background, as well as a ton of utilities and a supercharged composable to
|
||||
control the internal state outside the Vue Flow component.
|
||||
</p>
|
||||
<a class="button max-w-max" href="/docs"> Documentation </a>
|
||||
<router-link class="button max-w-max" to="/guide/"> Documentation </router-link>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -102,7 +102,7 @@ onPaneReady((i) => emit('pane', i))
|
||||
Vue Flow comes with seamless zooming & panning, different edge and node types, single and multi-selection, controls,
|
||||
several event handlers and more.
|
||||
</p>
|
||||
<a class="button max-w-max" href="/docs"> Documentation </a>
|
||||
<router-link class="button max-w-max" to="/guide/"> Documentation </router-link>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
||||
@@ -128,13 +128,13 @@ onPaneReady(({ fitView }) => {
|
||||
</template>
|
||||
<template v-else-if="props.id === 'documentation'">
|
||||
<div class="flex">
|
||||
<a class="link group bg-orange-500" href="/docs"> Read The Documentation </a>
|
||||
<router-link class="link group bg-orange-500" to="/guide/"> Read The Documentation </router-link>
|
||||
</div>
|
||||
<Handle type="target" :position="Position.Top" />
|
||||
</template>
|
||||
<template v-else-if="props.id === 'examples'">
|
||||
<div class="flex">
|
||||
<a class="link group bg-purple-500" href="/examples"> Check The Examples </a>
|
||||
<router-link class="link group bg-purple-500" to="/examples/"> Check The Examples </router-link>
|
||||
</div>
|
||||
<Handle type="target" :position="Position.Top" />
|
||||
<Handle class="block md:hidden" type="source" :position="Position.Bottom" />
|
||||
|
||||
@@ -60,7 +60,7 @@ onPaneReady((i) => emit('pane', i))
|
||||
<div class="flex flex-col gap-2 items-center md:items-start">
|
||||
<h1>Nested- & Subflows</h1>
|
||||
<p>Vue Flow comes with built-in support for nested nodes and nested flows.</p>
|
||||
<a class="button max-w-max" href="/docs"> Documentation </a>
|
||||
<router-link class="button max-w-max" to="/guide/"> Documentation </router-link>
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
||||
@@ -106,7 +106,7 @@ const nodeColor: MiniMapNodeFunc = (node) => {
|
||||
You can create your own node and edge types or just pass a custom style. Implement custom UIs inside your nodes and add
|
||||
functionality to your edges.
|
||||
</p>
|
||||
<a class="button max-w-max" href="/docs">Documentation</a>
|
||||
<router-link class="button max-w-max" to="/guide/">Documentation</router-link>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user