(new task) add new task link to navigate to /new-task

This commit is contained in:
Julien Calixte
2023-04-08 12:27:15 +02:00
parent 812e7509d5
commit b9738c7d28
2 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,5 @@
<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import HelloWorld from './components/HelloWorld.vue'
</script>
<template>

View File

@@ -1,5 +1,7 @@
<script setup lang="ts"></script>
<template>
<main>Bonjour</main>
<main>
<RouterLink :to="{ name: 'new-task' }">New task</RouterLink>
</main>
</template>