Skip to content

Add note about comments in .env files #3403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion docs/guide/mode-and-env.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ You can specify env variables by placing the following files in your project roo
.env.[mode].local # only loaded in specified mode, ignored by git
```

An env file simply contains key=value pairs of environment variables:
An env file simply contains key=value pairs of environment variables (lines not starting with letter or numbers will be ignored):

```
# Comment
FOO=bar
#OLD_VAR=not_used
VUE_APP_SECRET=secret
```

Expand Down