We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.3.4
https://jsfiddle.net/jason_sanjose/00h2moa2/
provide
foo
bar
inject
Both foo and bar should be available in component B.
The provide defined by the last mixin is the only one available.
Looks like the standard options merging only accounts for inject but not provide https://github.com/vuejs/vue/blob/dev/src/core/util/options.js#L185.
Update docs if this behavior is expected.
The text was updated successfully, but these errors were encountered:
fix: Merge strategy for provide option
e23224b
Fixes vuejs#6008
306997e
znck
No branches or pull requests
Version
2.3.4
Reproduction link
https://jsfiddle.net/jason_sanjose/00h2moa2/
Steps to reproduce
provide
properties, e.g.foo
andbar
.inject
to addfoo
andbar
propertiesWhat is expected?
Both
foo
andbar
should be available in component B.What is actually happening?
The
provide
defined by the last mixin is the only one available.Looks like the standard options merging only accounts for
inject
but notprovide
https://github.com/vuejs/vue/blob/dev/src/core/util/options.js#L185.Update docs if this behavior is expected.
The text was updated successfully, but these errors were encountered: