title: How to use keep-alive in vuejs?
body: <p>Basically, I want to keep alive 2 components in <code>router-view</code> and it works, however, I don't know if I am doing it correctly.</p>
  <pre><code> &lt;keep-alive include=&quot;users, data&quot;&gt;
      &lt;router-view&gt;&lt;/router-view&gt;
   &lt;/keep-alive&gt;
  </code></pre>
  <p>users and data are route names. Is this correct way to do it. Are there any disadvantages of <code>keep-alive</code>?</p>