feat: use nuxt 4 structure

This commit is contained in:
Anthony Fu committed 2024-08-14 14:29:01 +02:00
1 parent 3f192323d8
commit fe3b8ce1c1
18 files changed
+7 -3

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
<script setup lang="ts">
import { appName } from '~/constants'
useHead({
title: appName,
})
</script>
<template>
<VitePwaManifest />
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>
<style>
html,
body,
#__nuxt {
height: 100vh;
margin: 0;
padding: 0;
}
html.dark {
background: #222;
color: white;
}
</style>