1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

创建前端Vue项目

This commit is contained in:
2022-10-21 14:51:17 +08:00
parent b6cf527080
commit cdb59b0743
20 changed files with 20818 additions and 0 deletions

30
frontend/src/App.vue Normal file
View File

@@ -0,0 +1,30 @@
<template>
<nav>
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</nav>
<router-view/>
</template>
<style>
#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;
}
nav a {
font-weight: bold;
color: #2c3e50;
}
nav a.router-link-exact-active {
color: #42b983;
}
</style>