xc-pad/src/App.vue
2024-01-10 17:58:43 +08:00

49 lines
858 B
Vue

<!--
* @Author: Do not edit
* @Date: 2023-12-27 16:41:40
* @LastEditTime: 2024-01-07 22:29:50
* @LastEditors: DY
* @Description:
-->
<template>
<div id="app">
<!-- <nav>
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
</nav> -->
<!-- <HomeView v-if="!$route.meta.keepAlive" /> -->
<router-view/>
</div>
</template>
<script>
// import HomeView from '@/views/HomeView.vue'
export default {
// components: { HomeView }
}
</script>
<style lang="less">
#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>