Skip to content

Releases: Akryum/vue-supply

v0.3.0

19 Jun 12:44
Compare
Choose a tag to compare
v0.3.0 Pre-release
Pre-release

New

  • By default, use also take care of keep-alive activated and deactivated hooks.

API Change

02 Jun 16:19
Compare
Choose a tag to compare
API Change Pre-release
Pre-release

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 and this.$supply - doc
  • New injectSupply(storeOptions, supplyCache) for vuex usage, with new supplyCache component option - doc
  • use can now also accept String (for injection) and supply definition object.
  • Updated doc