title: Vuejs - computed property based on other computed property
body: <p>I'm trying to get a computed property from another computed property, like so:</p>
  <pre><code>var instance = new Vue({
      el: &quot;#instance&quot;,
      data: {
          aha: &quot;&quot;
      },
      computed: {
          len: function(){
              return this.aha.length;
          },
          plus : function(){
              return this.len + 2;
          }
      }
  });
  </code></pre>
  <p>This doesn't work. I get <code>NaN</code> in my template when I try to display <code>plus</code>. Is there a way to make this work? The answer to <a href="https://stackoverflow.com/questions/50185265/composing-computed-properties-with-other-computed-properties">this question</a> doesn't work for me.</p>