title: How to use $refs in template - vuejs
body: <p>I have a input with attribute "ref" and I don't want to use v-model</p>
  
  <pre><code>&lt;div class="form-group m-b-40"&gt;
    &lt;input type="text" class="form-control" id="name" ref="name"  required&gt; 
  &lt;/div&gt;
   {{showInput}}
  </code></pre>
  
  <p>I want to show my input value automatically. I do this</p>
  
  <pre><code> methods: {
         showInput: function () {
              this.$refs.name.value
          },
      }
  </code></pre>
  
  <p>but it isn't updated.</p>