Nextjs 13 with Framer Motion seems to work locally but not during production. #2305
Unanswered
mark123jesper
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone got framer motion to work on Next js 13 (app directive and app routing) without making the layout.tsx a client component (even making it one does produce the error below)?
Expected Behaviour: Local is working
localhost_3000_skills.-.Google.Chrome.2023-08-18.16-40-42.mp4
Production Behaviour
whitecatdev.vercel.app_about.-.Google.Chrome.2023-08-18.16-36-16.mp4
Workaround Behaviour
Making everything into client component (that means everything including pages.tsx's and layout.tsx
localhost_3000_projects.-.Google.Chrome.2023-08-18.16-54-31.mp4
Beta Was this translation helpful? Give feedback.
All reactions