chore: improvements (#1)
* chore: improvements * fix: use class * chore: more improvements
This commit is contained in:
1 parent
6a9f6db135
commit
0a351f1aa9
4 files changed
+13
-14
No files matched your search
+3
-4
@@ -1,6 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -8,12 +7,12 @@ const router = useRouter()
|
||||
<div>Hi: {{ route.params.id }}</div>
|
||||
|
||||
<div>
|
||||
<button
|
||||
<NuxtLink
|
||||
class="btn m-3 text-sm mt-6"
|
||||
@click="router.back()"
|
||||
to="/"
|
||||
>
|
||||
Back
|
||||
</button>
|
||||
</NuxtLink>
|
||||
</div>
|
||||
|
||||
<Counter />
|
||||
|
||||
Reference in new issue
Block a user