Komponenten eingebaut und benutzt (erste Schritte)

This commit is contained in:
2023-05-02 16:07:30 +02:00
parent 4edf59fd4c
commit 35407b034f
7 changed files with 79 additions and 124 deletions

44
app.vue
View File

@ -1,43 +1,11 @@
<template>
<div class="main-container">
<div class="header">
<table id="header-table">
<tr>
<th>
<router-link to="/header/help">
Hilfe
</router-link>
</th>
<th>
<router-link to="/header/info">
Info
</router-link>
</th>
<th> Logout </th>
</tr>
</table>
</div>
<div class="sidenav">
<div class="sidenav-content">
<h1 class="menu-heading">
WebAdmin
</h1>
<p>
<router-link to="/">
Home
</router-link>
<router-link to="/adresses/adresses_index">
Adressverwaltung
</router-link>
</p>
</div>
</div>
<div class="container">
<router-view />
</div>
</div>
<NuxtLayout>
<NuxtPage />
</NuxtLayout>
</template>
<script></script>
<script setup lang="ts">
</script>
<style src="@/assets/main.css"></style>