chore: init
This commit is contained in:
commit
76fb0845ec
24 files changed
+4433
No files matched your search
@@ -0,0 +1,31 @@
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<p class="text-4xl">
|
||||
<Icon class="iconify inline-block" icon="carbon:pedestrian" />
|
||||
</p>
|
||||
<p>
|
||||
Hi, {{ name }}!
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<button
|
||||
class="btn m-3 text-sm mt-8"
|
||||
@click="back"
|
||||
>
|
||||
Back
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup='props' lang='ts'>
|
||||
import { useRouter } from 'vue-router'
|
||||
|
||||
declare const props: {
|
||||
name: string
|
||||
}
|
||||
|
||||
const router = useRouter()
|
||||
export const back = () => router.push('/')
|
||||
</script>
|
||||
Reference in new issue
Block a user