Releases: Akryum/vue-supply
Releases · Akryum/vue-supply
v0.3.0
API Change
New
- The supplies should now be exported as plain object, as opposed to instances created with
new Vue({ ... })
- New
register(name, def)
method to ease injection of supplies in components and vuex stores - doc - New 'dependency injection' usage in component with
use
andthis.$supply
- doc - New
injectSupply(storeOptions, supplyCache)
for vuex usage, with newsupplyCache
component option - doc use
can now also accept String (for injection) and supply definition object.- Updated doc