mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-12 09:03:53 +00:00
90784f79d7
* docs: implement new website theme * chore: rename dirs * chore: update build * lint fix * chore: update deps * fix: include node_modules in esbuild step * chore: update deps * Update .gitignore * chore: update theme version * up * up * fix: use svg for illustration * chore: update to 0.0.12 * chore: force parse5 resolution * stay with build * feat: always display first home section * Update yarn.lock * chore: update theme * fix lint * docs: update home title * chore: update website theme version * Update docs/content/0.index.md Co-authored-by: pooya parsa <pyapar@gmail.com> * Update docs/content/0.index.md Co-authored-by: pooya parsa <pyapar@gmail.com> * up * chore: bump theme version * up * chore: up * up up and up * chore: generate * fix: boolean value * feat: new images * update again * chore: up * ouep * chore: up Co-authored-by: Daniel Roe <daniel@roe.dev> Co-authored-by: Clément Ollivier <clement.o2p@gmail.com> Co-authored-by: pooya parsa <pyapar@gmail.com>
1.4 KiB
1.4 KiB
title | description |
---|---|
nuxi dev | The dev command starts a development server with hot module replacement at http://localhost:3000 |
nuxi dev
npx nuxi dev [rootDir] [--dotenv] [--clipboard] [--open, -o] [--no-clear] [--port, -p] [--host, -h] [--https] [--ssl-cert] [--ssl-key]
The dev
command starts a development server with hot module replacement at http://localhost:3000
Option | Default | Description |
---|---|---|
rootDir |
. |
The root directory of the application to serve. |
--dotenv |
. |
Point to another .env file to load, relative to the root directory. |
--clipboard |
false |
Copy URL to clipboard. |
--open, -o |
false |
Open URL in browser. |
--no-clear |
false |
Does not clear the console after startup. |
--port, -p |
3000 |
Port to listen. |
--host, -h |
localhost |
Hostname of the server. |
--https |
false |
Listen with https protocol with a self-signed certificate by default. |
--ssl-cert |
null |
Specify a certificate for https. |
--ssl-key |
null |
Specify the key for the https certificate. |
The port and host can also be set via NUXT_PORT, PORT, NUXT_HOST or HOST environment variables.
This command sets process.env.NODE_ENV
to development
.
::alert{type="info"}
If you are using a self-signed certificate in development, you will need to set NODE_TLS_REJECT_UNAUTHORIZED=0
in your environment.
::