From 9c385c412cdf6db77e643f32a4fbf50f281f07da Mon Sep 17 00:00:00 2001
From: ColorWhiteDeveloper <2632970487@qq.com>
Date: 星期一, 19 九月 2022 11:25:49 +0800
Subject: [PATCH] 系统设置侧边栏路由搭建
---
src/App.vue | 32 +++++++-------------------------
1 files changed, 7 insertions(+), 25 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 240acf4..e5cd210 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,32 +1,14 @@
<template>
<div id="app">
- <nav>
- <router-link to="/">Home</router-link> |
- <router-link to="/about">About</router-link>
- </nav>
- <router-view/>
+ <router-view/>
</div>
</template>
-<style>
-#app {
- font-family: Avenir, Helvetica, Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-align: center;
- color: #2c3e50;
-}
+<style >
-nav {
- padding: 30px;
-}
-
-nav a {
- font-weight: bold;
- color: #2c3e50;
-}
-
-nav a.router-link-exact-active {
- color: #42b983;
-}
</style>
+<script>
+export default {
+
+};
+</script>
--
Gitblit v1.8.0