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

Conversation

skirtles-code
Copy link
Contributor

The original motivation here was to change the example. It showed app.config = {...}, which isn't realistic because you can't assign a new object to that property.

I originally considered giving an example of assigning an individual property but couldn't come up with a tidy example. Instead I changed it to log app.config, which shows how to access the object but not much else. In that context it no longer made sense to have the app.mount line, so I removed that. The sentence that preceded the example then seemed better placed after the example. Finally, I reworded the opening sentence.

@NataliaTepluhina NataliaTepluhina merged commit ec0816e into vuejs:master Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants