vue中animate的使用
1.下载animate.css
在github中https://github.com/daneden/animate.css下载animate.css,放入assets文件夹中
2.导入animate.css
在想要使用animate的style中输入@import "./assets/animate.css"
3.使用animate.css
<transition mode="out-in" enter-active-class="animated zoomInLeft" leave-active-class="animated zoomOutRight">
<router-view></router-view>
</transition>