Skip to content

Commit 1b4b988

Browse files
adam-lynchLinusBorg
authored andcommitted
Removing Vue.config.debug usage from documentation (#871)
* Removing Vue.config.debug usage from documentation It has been removed; https://vuejs.org/v2/guide/migration.html#Vue-config-debug-removed * Update env.md
1 parent ebee3dc commit 1b4b988

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/env.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ So, the environment variables are:
4242

4343
As we can see, `test.env` inherits the `dev.env` and the `dev.env` inherits the `prod.env`.
4444

45-
### Usage
45+
### Usage
4646

47-
It is simple to use the environment variables in your code. For example:
47+
It is simple to use the environment variables in your code. For example:
4848

49-
```js
50-
Vue.config.debug = process.env.DEBUG_MODE
51-
```
49+
```js
50+
Vue.config.productionTip = process.env.NODE_ENV === 'production'
51+
```

0 commit comments

Comments
 (0)