So you're building a mobile web app and you want to view it on an actual phone not a virtual one in your dev tools? No, you don't have to deploy! If you've ever used Create React App, running developer mode gives you simple instructions for doing this, however Next.JS
$ yarn dev does not! Fear not, it is very simple...
# Linux/Mac $ ifconfig # Or Windows... $ ipconfig
$ yarn dev
- If your machine's IP is
- ...navigate to
192.168.0.69:3000on your phone
It's as easy as that!