Skip to content

Commit d1ed5d8

Browse files
committed
Add hyperlink to vuetensils in NewVersionInfo.vue
1 parent 42acd1d commit d1ed5d8

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/components/right-sidebar/tutorial/Landing.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
</template>
3232

3333
<script setup lang="ts">
34-
34+
// @ts-nocheck
35+
// No check for the shell
3536
import { useStore } from "../../../store/main.js";
3637
3738
const { shell } = window;

src/components/right-sidebar/tutorial/NewVersionInfo.vue

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
Quickly create accessible HTML elements by adding components from the Vuetensils
4949
Component Library! These naked components are designed to have bare minimum styles,
5050
to avoid bloat while including accessibility. Learn more about Vuetensils in the
51-
<!-- <a class="link" href="https://vuetensils.com/Introduction.html">documentation</a>. -->
52-
documentation: <span class="dead-link">https://vuetensils.com/Introduction.html</span>.
51+
<a class="link" @click="openUrl('https://vuetensils.com/Introduction.html')"> <u>documentation</u> </a>.
5352
</p>
5453
<img
5554
alt="Vuetensils"
@@ -72,13 +71,18 @@
7271
</template>
7372

7473
<script setup lang="ts">
74+
// @ts-nocheck
75+
// No check for the shell
7576
import { useStore } from "../../../store/main.js";
7677
78+
const { shell } = window;
79+
7780
const store = useStore();
7881
const emit = defineEmits(["nextTab"]);
7982
8083
const toggleTutorial = () => store.toggleTutorial();
8184
const nextTab = () => emit("nextTab");
85+
const openUrl = (url: string) => shell.openExternal(url, { activate: true });
8286
</script>
8387

8488
<style scoped lang="scss">

0 commit comments

Comments
 (0)