Skip to content

Commit 643ec90

Browse files
author
Suleyman Yilmaz
committed
Clean redundant codes
1 parent 2dae177 commit 643ec90

File tree

2 files changed

+8
-25
lines changed

2 files changed

+8
-25
lines changed

src/App.vue

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,15 @@
11
<template>
22
<div id="app">
3-
<!-- <div id="nav">-->
4-
<!-- <router-link to="/">Home</router-link> |-->
5-
<!-- <router-link to="/about">About</router-link>-->
6-
<!-- </div>-->
73
<router-view/>
84
</div>
95
</template>
106

117
<style>
12-
#app {
13-
font-family: Avenir, Helvetica, Arial, sans-serif;
14-
-webkit-font-smoothing: antialiased;
15-
-moz-osx-font-smoothing: grayscale;
16-
text-align: center;
17-
color: #2c3e50;
18-
}
19-
20-
#nav {
21-
padding: 30px;
22-
}
23-
24-
#nav a {
25-
font-weight: bold;
26-
color: #2c3e50;
27-
}
28-
29-
#nav a.router-link-exact-active {
30-
color: #42b983;
31-
}
8+
#app {
9+
font-family: Avenir, Helvetica, Arial, sans-serif;
10+
-webkit-font-smoothing: antialiased;
11+
-moz-osx-font-smoothing: grayscale;
12+
text-align: center;
13+
color: #2c3e50;
14+
}
3215
</style>

src/views/Home.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div class="home">
33
<img alt="Vue logo" src="../assets/logo.png">
4-
\ </div>
4+
</div>
55
</template>
66

77
<script lang="ts">

0 commit comments

Comments
 (0)