title: Pagetransition before next page in Nextjs
body: <p>Is there any way to archive a page transition that fits the following requirements:</p>
  <ul>
  <li>I want to show a page transition when a page changes</li>
  <li>The page transition should finish before the next page loads/shows</li>
  <li>The page transition should run X seconds</li>
  <li>The page transition is a component placed in <code>_app.js</code></li>
  </ul>
  <p>Currently, I do this in a gruesome way.
  In NuxtJS, it is possible to archive it via the Javascript Hooks. <a href="https://nuxtjs.org/docs/2.x/components-glossary/pages-transition" rel="nofollow noreferrer">https://nuxtjs.org/docs/2.x/components-glossary/pages-transition</a></p>
  <p>Thank you for the help :)</p>