npm installnpm run devThe server binds to 0.0.0.0 on port 3000, so other devices on the same local network can connect with:
http://<host-local-ip>:3000
The terminal output also prints detected local network URLs when the server starts.
npm run build
npm run previewUse the same local-network URL pattern:
http://<host-local-ip>:3000