mirror of
https://github.com/Kisechan/Mainpage.git
synced 2025-07-10 23:27:18 +00:00
init
This commit is contained in:
24
src/App.vue
Normal file
24
src/App.vue
Normal file
@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<header>
|
||||
<nav>
|
||||
<router-link to="/">首页</router-link> |
|
||||
<router-link to="/about">关于</router-link>
|
||||
</nav>
|
||||
</header>
|
||||
<router-view />
|
||||
</template>
|
||||
|
||||
<style>
|
||||
#app {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
font-family: Arial, sans-serif;
|
||||
}
|
||||
nav {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
a {
|
||||
color: #42b983;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user