title: how to take value from input with vue.js?
body: <p>I need some enlightenment. 
  Right now, I'm learning vue.js, and I want to know how to take all data value from input form?? I want take all data from there &amp; save into my database. But, I still don't know, how to get all these data.. thx</p>
  
  <pre><code>&lt;div id="example-1"&gt;
          &lt;form&gt;
              &lt;input v-model="info.name"&gt;
              &lt;input v-model="info.nickname"&gt;
              &lt;input v-model="info.gender"&gt;
              &lt;input type="submit" name="" value="Submit" v-on:click="submitData"&gt;
          &lt;/form&gt;
      &lt;/div&gt;
  
      &lt;script&gt;
          var example1 = new Vue({
                  el: '#example-1',
                  data: {
                      info: {
                          name: '',
                          nickname: '',
                          gender: ''
                      }
                  }
              },
              methods: {
                  submitData: function() {
                      console.log(this.info);
                      // this.$http.post('/api/something', JSON.stringify(this.info));
                  }
              })
      &lt;/script&gt;
  </code></pre>