title: Pass data to a store?
body: <p>How can I pass data from my vue component into a store?</p>
  
  <p>Here's my component:</p>
  
  <pre><code>methods: {
      ...mapActions('NavBar', [
          'fix',
      ]),
      onClick: function() {
          this.fix('my-data');
      },
      ....
  </code></pre>
  
  <p>And on the store:</p>
  
  <pre><code>actions: {           
     fix: ({ commit }) =&gt; {
      //get data here?
     },
  },
  </code></pre>