nuxi dev [rootDir]

The dev command starts a development server with hot module replacement at http://localhost:3000

Arguments

NameDescription
rootDirThe directory of the target application

Options

NameDescription
--dotenvPoint to another .env file to load, relative to the root directory
--clipboardCopy URL to clipboard
--open, -oOpen URL in browser
--no-clearDoes not clear the console after startup
--port, -pPort to listen
--host, -hHostname of the server
--httpsListen with https protocol with a self-signed certificate by default
--ssl-certSpecify a certificate for https
--ssl-keySpecify the key for the https certificate