From c6bda81c5ead8e47784ba8d152fb09676c710a63 Mon Sep 17 00:00:00 2001 From: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com> Date: Fri, 3 Jun 2022 13:26:05 +0200 Subject: [PATCH] docs: fix version link --- docs/components/Repl.vue | 4 ++-- docs/src/examples/save.md | 2 +- docs/src/guide/node.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/components/Repl.vue b/docs/components/Repl.vue index 24dae5f5..ebeeff50 100644 --- a/docs/components/Repl.vue +++ b/docs/components/Repl.vue @@ -6,8 +6,8 @@ import { exampleImports } from './examples' const props = defineProps<{ example: keyof typeof exampleImports; mainFile?: string; dependencies?: Record }>() 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, diff --git a/docs/src/examples/save.md b/docs/src/examples/save.md index 5eba955e..87dc09fa 100644 --- a/docs/src/examples/save.md +++ b/docs/src/examples/save.md @@ -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. diff --git a/docs/src/guide/node.md b/docs/src/guide/node.md index 56811bd8..2ecf40f4 100644 --- a/docs/src/guide/node.md +++ b/docs/src/guide/node.md @@ -263,7 +263,7 @@ const elements = ref([ ``` ::: tip -You can find a more advanced example here. +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