-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Description
Version
2.3.4
Reproduction link
https://jsfiddle.net/jason_sanjose/00h2moa2/
Steps to reproduce
- Define a component A that uses 2 mixins that each define their own
provideproperties, e.g.fooandbar. - Define a component B inside A that uses
injectto addfooandbarproperties
What is expected?
Both foo and bar 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 not provide https://github.com/vuejs/vue/blob/dev/src/core/util/options.js#L185.
Update docs if this behavior is expected.
Metadata
Metadata
Assignees
Labels
No labels