Skip to content
Discussion options

You must be logged in to vote

The root cause is the architecture of Next.js App router have completely changed compare to the conventional page router.

There are 2 ways which might be helpful.

The first way is to restart your Next.js project with the conventional page router.

Next.js still allows users to choose the page router even though the latest version.

If you insist on the app router, then there is a library called next-transition-router.

https://github.com/ismamz/next-transition-router

And here is the test website which on my GitHub repository.

https://github.com/robin-artemstein/nextjs-company-website-framer-motion

Best of luck.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@changhejeong
Comment options

Answer selected by changhejeong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants