Editor + Next.js Preview Same-origin demo (see docs for cross-origin setup)

Edit files, save with Ctrl/Cmd+S, and see live HMR updates in the preview

HMR Updated
Editor
Ready
Ctrl/Cmd+S to save
Preview
N
Click "Start Preview" to launch the Next.js dev server