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
|
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.
|
control the internal state outside the Vue Flow component.
|
||||||
</p>
|
</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>
|
</div>
|
||||||
</template>
|
</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,
|
Vue Flow comes with seamless zooming & panning, different edge and node types, single and multi-selection, controls,
|
||||||
several event handlers and more.
|
several event handlers and more.
|
||||||
</p>
|
</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>
|
</div>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -128,13 +128,13 @@ onPaneReady(({ fitView }) => {
|
|||||||
</template>
|
</template>
|
||||||
<template v-else-if="props.id === 'documentation'">
|
<template v-else-if="props.id === 'documentation'">
|
||||||
<div class="flex">
|
<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>
|
</div>
|
||||||
<Handle type="target" :position="Position.Top" />
|
<Handle type="target" :position="Position.Top" />
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="props.id === 'examples'">
|
<template v-else-if="props.id === 'examples'">
|
||||||
<div class="flex">
|
<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>
|
</div>
|
||||||
<Handle type="target" :position="Position.Top" />
|
<Handle type="target" :position="Position.Top" />
|
||||||
<Handle class="block md:hidden" type="source" :position="Position.Bottom" />
|
<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">
|
<div class="flex flex-col gap-2 items-center md:items-start">
|
||||||
<h1>Nested- & Subflows</h1>
|
<h1>Nested- & Subflows</h1>
|
||||||
<p>Vue Flow comes with built-in support for nested nodes and nested flows.</p>
|
<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>
|
</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
|
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.
|
functionality to your edges.
|
||||||
</p>
|
</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>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user