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

23
frontend/app/app.vue Normal file
View File

@@ -0,0 +1,23 @@
<script setup>
import HelloWorld from './components/HelloWorld.vue'
</script>
<template>
<img id="logo" alt="Wails logo" src="./assets/images/logo-universal.png"/>
<HelloWorld/>
</template>
<style>
#logo {
display: block;
width: 50%;
height: 50%;
margin: auto;
padding: 10% 0 0;
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
background-origin: content-box;
}
</style>