dev command starts a development server with hot module replacement at http://localhost:3000
Arguments
Options
The port and host can also be set via NUXT_PORT, PORT, NUXT_HOST or HOST environment variables.
Additionally to the above options,
@nuxt/cli can pass options through to listhen, e.g. --no-qr to turn off the dev server QR code. You can find the list of listhen options in the unjs/listhen docs.
This command sets process.env.NODE_ENV to development.
If you are using a self-signed certificate in development, you will need to set
NODE_TLS_REJECT_UNAUTHORIZED=0 in your environment.