Clearing input field when using Vue with Vuex
<p>I would like to clear inputs after I add a new todo in my vuex todo app, and I am wondering if this is application state, and should be handled with vuex, or component state, which should be handled within the component itself. Right now I just have a <code>v-model</code> attached to the input which holds onto an empty string:</p>

<p><code>&lt;input v-model="text"...&gt;</code></p>

<p>Inside my component:</p>

<p><code>data(){
    return{
       text: ''
     }
  }
</code>
Here is a demo: <a href="http://codepen.io/p-adams/pen/YWBAqP" rel="nofollow">http://codepen.io/p-adams/pen/YWBAqP</a></p>