Add vue-router

Add home page
This commit is contained in:
2024-04-26 14:31:58 +01:00
parent a7854fbbe3
commit 4eec366672
4 changed files with 29 additions and 44 deletions

View File

@@ -1,21 +1,11 @@
<script setup>
import HelloWorld from './components/HelloWorld.vue'</script>
import { RouterView } from 'vue-router'
</script>
<template>
<img id="logo" alt="Wails logo" src="./assets/images/logo-universal.png"/>
<HelloWorld/>
<main>
<RouterView />
</main>
</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>
<style></style>