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

The transitions, from one page to another would not work.

Until I realized, you need to add appear in the transition tag and it worked. The transition CSS code is from Gridsome 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;