chore: init

This commit is contained in:
Anthony Fu committed 2020-08-10 02:43:04 +08:00
commit 76fb0845ec
24 files changed
+4433

No files matched your search

+31
View File
@@ -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>