This commit is contained in:
2025-09-25 14:58:50 +08:00
commit 2ea3147268
22 changed files with 8126 additions and 0 deletions

34
schoolNewsWeb/src/App.vue Normal file
View File

@@ -0,0 +1,34 @@
<template>
<div>
<nav>
<router-link to="/about">About</router-link>
</nav>
<router-view />
</div>
</template>
<script setup lang="ts">
import { RouterView } from "vue-router";
</script>
<style lang="scss">
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
nav {
padding: 30px;
a {
font-weight: bold;
color: #2c3e50;
&.router-link-exact-active {
color: #42b983;
}
}
}
</style>