mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 16:47:03 +08:00
Add: Vite Electron Builder template
From https://github.com/cawa-93/vite-electron-builder
This commit is contained in:
31
webapp/packages/renderer/src/App.vue
Normal file
31
webapp/packages/renderer/src/App.vue
Normal file
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<img
|
||||
alt="Vue logo"
|
||||
src="../assets/logo.svg"
|
||||
width="300"
|
||||
>
|
||||
<app-navigation />
|
||||
<router-view />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import {defineComponent} from 'vue';
|
||||
import AppNavigation from '/@/components/AppNavigation.vue';
|
||||
export default defineComponent({
|
||||
name: 'App',
|
||||
components: {
|
||||
AppNavigation,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#app {
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-align: center;
|
||||
color: #2c3e50;
|
||||
margin-top: 60px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user