File tree 2 files changed +3
-11
lines changed
2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ new Vue({
47
47
template : `
48
48
<div id="app">
49
49
<ul>
50
- <li><router-link tag="a" to="/index/child1">index child 1</router-link></li>
51
- <li><router-link tag="a" to="/index/child2">index child 2</router-link></li>
52
- <li><router-link tag="a" to="/home">home</router-link></li>
50
+ <li><router-link to="/index/child1">index child 1</router-link></li>
51
+ <li><router-link to="/index/child2">index child 2</router-link></li>
52
+ <li><router-link to="/home">home</router-link></li>
53
53
</ul>
54
54
<keep-alive>
55
55
<router-view></router-view>
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< link rel ="stylesheet " href ="/global.css ">
3
- < style >
4
- a .router-link-active , li .router-link-active a {
5
- color : # f66 ;
6
- }
7
- a .router-link-exact-active , li .router-link-exact-active a {
8
- border-bottom : 1px solid # f66 ;
9
- }
10
- </ style >
11
3
< a href ="/ "> ← Examples index</ a >
12
4
< div id ="app "> </ div >
13
5
< script src ="/__build__/shared.chunk.js "> </ script >
You can’t perform that action at this time.
0 commit comments