title: vue submit button data
body: <p>Suppose I had this code</p>
  
  <pre><code>&lt;main&gt;
      &lt;form&gt;
          &lt;input type="text" v-model="name"&gt; 
          &lt;button type="submit" @click="submit"&gt;
              Submit From Vue Property
          &lt;/button&gt;
      &lt;/form&gt;
  &lt;/main&gt;
  </code></pre>
  
  <p>And this the Vue code.</p>
  
  <pre><code>new Vue({
     el : 'main',
     data : {
         name : ''
     },
     methods : {
        submit(){
  
        }
     }
  }) 
  </code></pre>
  
  <p>how to submit to server from Vue data property instead? That i used in submit method.</p>
  
  <p>( honestly, my actual code is much complicated but the problem is same. How to submit Vue data property instead? )</p>