Skip to content

Add app.provide to the API reference - #411

Merged
NataliaTepluhina merged 2 commits into
vuejs:masterfrom
skirtles-code:app-provide
Aug 16, 2020
Merged

NataliaTepluhina merged 2 commits into
vuejs:masterfrom
skirtles-code:app-provide

Conversation

@skirtles-code

Copy link
Copy Markdown
Contributor

This PR addresses problems raised in #406. Specifically:

  1. Minor corrections to an example of app.provide in the migration guide.
  2. Adding documentation for app.provide to the API reference. This had been documented previously but the majority of the text described the wrong feature so it was removed in Reword Vue instance/application parameters mentions聽#355. I have retained some small parts of that previous entry but the majority is new.

I believe it would also be beneficial to mention app.provide elsewhere in the documentation, such as in the introductory guide to provide/inject and in the API reference section for the provide & inject options. I haven't undertaken that as part of this PR but I would be happy to attempt it if you feel it would be appropriate.

@NataliaTepluhina NataliaTepluhina left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skirtles-code thank you, this is a great addition! 馃憤馃徎

@NataliaTepluhina
NataliaTepluhina merged commit d7b4cc8 into vuejs:master Aug 16, 2020
@skirtles-code
skirtles-code deleted the app-provide branch August 16, 2020 09:01
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