code: function install(Vue, options) {
    Vue.mixin(mixin);
    if (options && options.templates) {
      extendTemplates(options.templates);
    }
    if (options && options.mode) {
      setMode(options.mode);
    }
    if (options && options.Promise) {
      mixin.Promise = options.Promise;
    }
  }
docs: /* plugin install
  -----------------------------------