Jump to content
Search Community

Page Transition with GSAP in NextJS App Router

TaiwoJazz test
Moderator Tag

Go to solution Solved by Rodrigo,

Recommended Posts

Hi guys. Here is a starter code provided by GSAP team on Page Transition with NextJS https://stackblitz.com/edit/nextjs-13cw4u?file=components%2FTransition.js
I however discovered that it doesn't work with NextJS app router but works with page router.

In app router, the exiting route and the entering route is always the same thing.


I will appreciate if someone can create a template for this page transition using App Router. Thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...