过渡动画不起作用,请在类前添加 animate__ 前缀
教程中的代码是调用了 animate.css
中的淡入淡出动画,而该框架在新的版本中,类添加了 animate__
前缀,所以要想动画生效,要么选用一个合适的框架版本,要么在动画类中添加前缀,如:
<transition enter-active-class="animate__animated animate__fadeInDown" leave-active-class="animate__animated animate__fadeOutUp" >