Tagged
Next.js
Phone-test the Next.js dev server on LAN
Allow your phone's LAN host in next.config so client JS works on device.
Wide MDX CodeBlocks
Opt-in wide code fences via rehype-mdx-code-props.
Create a CodeBlock Component for MDX
Replace MDX's default fenced-code output with a custom CodeBlock — syntax highlighting, copy button, and styling.
Self-hosting Next.js with PM2 and Apache
First time deployment on a virtual private server
How to set up a Next.js standalone build and run PM2 behind an Apache reverse proxy on Ubuntu 24.