1.第一种切换组件的方式:使用v-if v-else
登录
注册
2.这是第二种切换组件的方式:使用component占位符
登录
注册
3.这是切换动画介绍
登录
注册
总结:当前学习的 Vue 标签有:
component, template, transition, transitionGroup