Skip to content
Discussion options

You must be logged in to vote

Hi!

For older versions of Next.js, please see the official with-msw example repo inside the Next.js repo.

TL;DR You have to enable MSW in the app.tsx file, checking for Node.js environment first. Follow the link I attached above for the full example.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kettanaito
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