SOURCE

console 命令行工具 X clear

                    
>
console
new Vue({
  el: '#root',
  data: {
    show: false
  }
})
<div id="root">
  <transition>
    <h1 v-show="show">hello world</h1>
  </transition>
  <button @click="show = !show">toggle</button>
</div>
@keyframes bounce-in {
  0% {
    transform:scale(0);
  }
  50% {
    transform:scale(1.5);
  }
  100% {
    transform:scale(1);
  }
}

.v-enter-active {
  animation:bounce-in 1s;
}
.v-leave-active {
  animation:bounce-in 1s reverse;
}

本项目引用的自定义外部资源