<div id="app">
  <h1>Vue Select with Vuex</h1>
  <v-select 
    multiple
    label="email"
    @input="updateValue($event, 'active_peaple')"
    :options="$store.state.people"
    :value="$store.state.form.active_peaple"
  ></v-select>
  <pre>$store.state.form: {{ $store.state.form || 'null' }}</pre>
  
</div>
body {
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

h1 {
  font-size: 26px;
  font-weight: 600;
  color: #2c3e5099;
  text-rendering: optimizelegibility;
  -moz-osx-font-smoothing: grayscale;
  -moz-text-size-adjust: none;
}

#app {
  max-width: 30em;
  margin: 1em auto;
}

pre {
  font-family: 'Source Code Pro';
    background-color: #f8f8f8;
  padding: 1em;
}
Vue.component('v-select', VueSelect.VueSelect)

const store = new Vuex.Store({
  state: {
    people: [{
      "uuid": "58dc3c76c9205670b433e934",
      "email": "dennisingram@cinesanct.com"
    }, {
      "uuid": "58dc3c76fb733629909f1ce8",
      "email": "louhendricks@zytrac.com"
    }, {
      "uuid": "58dc3c762d5b19946660567e",
      "email": "cindyholcomb@tourmania.com"
    }],
    form: {
      active_peaple: null
    }
  },
  mutations: {
    updateValue (state, { vals, key_name }) {
      state.form[key_name] = vals;
    },
  }
})

new Vue({
  el: '#app',
  store,
  methods: {
    updateValue(vals, key_name) {
       this.$store.commit('updateValue', { vals, key_name });
    },
  },
  computed: {
    store() {
      return this.$store.state
    }
  }
})
Run Pen

External CSS

  1. https://fonts.googleapis.com/css?family=Source+Sans+Pro:600

External JavaScript

  1. https://unpkg.com/vue@latest
  2. https://unpkg.com/vue-select@latest
  3. https://unpkg.com/vuex@latest