File tree 3 files changed +8
-1
lines changed
3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="utf-8 ">
5
5
< title > Routing</ title >
6
6
< link rel ="stylesheet " href ="/node_modules/bootstrap/dist/css/bootstrap.min.css ">
7
+ < link rel ="stylesheet " href ="/node_modules/animate.css/animate.min.css ">
7
8
</ head >
8
9
< body >
9
10
< div id ="app "> </ div >
Original file line number Diff line number Diff line change 9
9
"build" : " cross-env NODE_ENV=production webpack --progress --hide-modules"
10
10
},
11
11
"dependencies" : {
12
+ "animate.css" : " ^3.5.2" ,
12
13
"bootstrap" : " ^3.3.7" ,
13
14
"vue" : " ^2.2.1" ,
14
15
"vue-router" : " ^2.7.0"
Original file line number Diff line number Diff line change 27
27
</div >
28
28
</nav >
29
29
30
- <router-view :cart =" cart" ></router-view >
30
+ <transition
31
+ enter-active-class =" animated fadeInRight"
32
+ leave-active-class =" animated fadeOutLeft"
33
+ mode =" out-in" >
34
+ <router-view :cart =" cart" ></router-view >
35
+ </transition >
31
36
</div >
32
37
</div >
33
38
</template >
You can’t perform that action at this time.
0 commit comments