[Vuejs]-Vue.js Transitions – 1st Entrance Not Working

0πŸ‘

To make transitions work on initial render make sure to add the appear attribute

<transition
  appear
  appear-class="custom-appear-class"
  appear-to-class="custom-appear-to-class" 
  appear-active-class="custom-appear-active-class">
  ...
</transition>

Ref: https://v2.vuejs.org/v2/guide/transitions.html#Transitions-on-Initial-Render

Leave a comment