docs: fix version link

This commit is contained in:
bcakmakoglu
2022-06-03 13:26:05 +02:00
parent 3672b86df3
commit c6bda81c5e
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ import { exampleImports } from './examples'
const props = defineProps<{ example: keyof typeof exampleImports; mainFile?: string; dependencies?: Record<string, string> }>()
const { vueFlowVersion } = useVueFlow()
let css = `@import 'https://cdn.jsdelivr.net/npm/@braks/vue-flow@${vueFlowVersion}/dist/style.css';
@import 'https://cdn.jsdelivr.net/npm/@braks/vue-flow@${vueFlowVersion}/dist/theme-default.css';
let css = `@import 'https://cdn.jsdelivr.net/npm/@braks/vue-flow@${vueFlowVersion.value}/dist/style.css';
@import 'https://cdn.jsdelivr.net/npm/@braks/vue-flow@${vueFlowVersion.value}/dist/theme-default.css';
html,
body,
+1 -1
View File
@@ -8,7 +8,7 @@ pageClass: examples
There is no built-in persistent storage feature, however you can use your own storage implementation.
::: tip State Management Libraries
Check the [pinia](/examples/pinia) example to see how to use Vue Flow with a state management library.
Check the [pinia](/examples/pinia.html) example to see how to use Vue Flow with a state management library.
:::
This example demonstrates save & restore functionality using the [`LocalStorage`](https://developer.mozilla.org/de/docs/Web/API/Window/localStorage) of the browser.
+2 -2
View File
@@ -263,7 +263,7 @@ const elements = ref([
```
::: tip
You can find a more advanced example <router-link to="/examples/custom-node/">here</router-link>.
You can find a more advanced example [here](/examples/custom-node.html).
:::
### Node Template
@@ -337,7 +337,7 @@ You can find the TypeDocs [here](https://types.vueflow.dev/interfaces/NodeProps.
## Styling
::: tip
To overwrite default theme styles check the [Theming section](/guide/theming/).
To overwrite default theme styles check the [Theming section](/guide/theming.html).
:::
### Custom Nodes