feat: introduce layouts (#28)

This commit is contained in:
Hasan Demirtaş authored and GitHub committed 2022-04-20 23:28:49 +08:00
1 parent 7bfa84d907
commit b1eaea501a
8 files changed
+68 -3

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
<script setup lang="ts">
definePageMeta({
layout: '404',
})
</script>
<template>
<div>
Not Found
</div>
</template>
+4
View File
@@ -6,6 +6,10 @@ const name = route.params.id
watchEffect(() => {
user.setNewName(route.params.id as string)
})
definePageMeta({
layout: 'home',
})
</script>
<template>