title: Using Methods inside Computed Properties in vueJs
body: <p>I'm trying to call a method inside of a computed property. My code is more complicated, but calling the method doesn't seem to even work in this simple example:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>new Vue({
    el: '#vue-instance',
    data: {
      x: 1
    },
    methods: {
      augmented: function(variable) {
        return (2 * variable);
      },
    },
    computed: {
      doubleX: function() {
        return augmented(this.x);
      }
    }
  });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.16/vue.min.js"&gt;&lt;/script&gt;
  &lt;div id="vue-instance"&gt;
    &lt;input type="number" v-model="x"&gt; result: {{ doubleX }}
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>As you can see by running the snippet, the value of <code>doubleX</code> is not getting rendered.</p>