Skip to content

Commit ec0816e

Browse files
fix: reword the introduction and example for application config (#791)
1 parent 8a834fb commit ec0816e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/api/application-config.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
# Application Config
22

3-
`config` is an object containing Vue application global configurations. You can modify its properties listed below before mounting your application:
3+
Every Vue application exposes a `config` object that contains the configuration settings for that application:
44

55
```js
66
const app = Vue.createApp({})
77

8-
app.config = {...}
9-
10-
app.mount(...);
8+
console.log(app.config)
119
```
1210

11+
You can modify its properties, listed below, before mounting your application.
12+
1313
## errorHandler
1414

1515
- **Type:** `Function`

0 commit comments

Comments
 (0)