Integrating the Nuxt framework into Wails

This commit is contained in:
zyj
2025-09-04 10:23:20 +08:00
commit 33e8a40ba1
39 changed files with 13653 additions and 0 deletions

14
frontend/app/error.vue Normal file
View File

@@ -0,0 +1,14 @@
<script setup lang="ts">
import type { NuxtError } from '#app'
const props = defineProps({
error: Object as () => NuxtError
})
</script>
<template>
<div>
<h1>{{ error.statusCode }}</h1>
<NuxtLink to="/">Go back home</NuxtLink>
</div>
</template>