function vuexInit () {
    var options = this.$options;
    // store injection
    if (options.store) {
      this.$store = typeof options.store === 'function'
        ? options.store()
        : options.store;
    } else if (options.parent && options.parent.$store) {
      this.$store = options.parent.$store;
    }
  }
function vuexInit () {
    var options = this.$options;
    // store injection
    if (options.store) {
      this.$store = typeof options.store === 'function'
        ? options.store()
        : options.store;
    } else if (options.parent && options.parent.$store) {
      this.$store = options.parent.$store;
    }
  }
function vuexInit ( ) { var options = this . $options ; // store injection if ( options . store ) { this . $store = typeof options . store === 'function' ? options . store ( ) : options . store ; } else if ( options . parent && options . parent . $store ) { this . $store = options . parent . $store ; } }
Vuex init hook, injected into each instances init hooks list.
Vuex init hook injected into each instances init hooks list .
vuexInit - Initialize the injection