From 87b9ff4ecc790a6c161cecc3577278ea12b7cd6f Mon Sep 17 00:00:00 2001 From: Anthony Fu Date: Tue, 25 Feb 2025 14:46:32 +0800 Subject: [PATCH] docs: fix typo in example command (#31112) --- docs/2.guide/2.directory-structure/2.env.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/2.guide/2.directory-structure/2.env.md b/docs/2.guide/2.directory-structure/2.env.md index 6976671a42..422dde9f90 100644 --- a/docs/2.guide/2.directory-structure/2.env.md +++ b/docs/2.guide/2.directory-structure/2.env.md @@ -28,7 +28,7 @@ Note that removing a variable from `.env` or removing the `.env` file entirely w If you want to use a different file - for example, to use `.env.local` or `.env.production` - you can do so by passing the `--dotenv` flag when using `nuxi`. ```bash [Terminal] -npx nuxi dev -- --dotenv .env.local +npx nuxi dev --dotenv .env.local ``` When updating `.env` in development mode, the Nuxt instance is automatically restarted to apply new values to the `process.env`.