nuxi dev [rootDir]
The dev command starts a development server with hot module replacement at http://localhost:3000
Arguments
Name | Description |
---|
rootDir | The directory of the target application |
Options
Name | Description |
---|
--dotenv | Point to another .env file to load, relative to the root directory |
--clipboard | Copy URL to clipboard |
--open, -o | Open URL in browser |
--no-clear | Does not clear the console after startup |
--port, -p | Port to listen |
--host, -h | Hostname of the server |
--https | Listen with https protocol with a self-signed certificate by default |
--ssl-cert | Specify a certificate for https |
--ssl-key | Specify the key for the https certificate |