在线演示:https://www.dowebok.com/demo/2014/98/
1,安装
cnpm i animate.css -S
2,在main.js中引入
import animated from 'animate.css';
Vue.use(animated);
3,应用
(注意:必须使用animated这个class名,否则动画会无效。然后再加上自己想要的动画效果的类)
<div class="animated slideInLeft">
132132132
</div>
或者
<router-view class="animated fadeIn"></router-view>