We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebee3dc commit 1b4b988Copy full SHA for 1b4b988
docs/env.md
@@ -42,10 +42,10 @@ So, the environment variables are:
42
43
As we can see, `test.env` inherits the `dev.env` and the `dev.env` inherits the `prod.env`.
44
45
-### Usage
+### Usage
46
47
-It is simple to use the environment variables in your code. For example:
+It is simple to use the environment variables in your code. For example:
48
49
-```js
50
-Vue.config.debug = process.env.DEBUG_MODE
51
-```
+```js
+Vue.config.productionTip = process.env.NODE_ENV === 'production'
+```
0 commit comments