File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ new Vue({
4747 template : `
4848 <div id="app">
4949 <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>
5353 </ul>
5454 <keep-alive>
5555 <router-view></router-view>
Original file line number Diff line number Diff line change 11<!DOCTYPE html>
22< 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 >
113< a href ="/ "> ← Examples index</ a >
124< div id ="app "> </ div >
135< script src ="/__build__/shared.chunk.js "> </ script >
You can’t perform that action at this time.
0 commit comments