Skip to content

Reword the introduction and example for application config #791

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

Merged
Merged
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
8 changes: 4 additions & 4 deletions src/api/application-config.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Application Config

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

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

app.config = {...}

app.mount(...);
console.log(app.config)
```

You can modify its properties, listed below, before mounting your application.

## errorHandler

- **Type:** `Function`
Expand Down