When Page Transition don’t work on page load in Vuejs .

The transitions from on page to another would not work. Tried different css transitions and from there documentation.

Until I realized, you need to add appear in the transition tag and it worked. The transition css code is from Vuejs documentation.

<div class="site site--no-sidebar">
    <Header />
      <transition name="slide-fade" appear>
        <main class="main">
    <Footer />
    <vue-facebook-page data-
/* Enter and leave animations can use different */
/* durations and timing functions.              */
.slide-fade-enter-active {
  transition: all .3s ease;
.slide-fade-leave-active {
  transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);
.slide-fade-enter, .slide-fade-leave-to
/* .slide-fade-leave-active below version 2.1.8 */ {
  transform: translateX(10px);
  opacity: 0;