title: Instance Vue if element exists?
body: <p>I'm building an app that a page has some vms, in others not. When we change from one page to another show the following warning:</p>
  
  <p><code>[Vue warn]: Cannot find element: #element-id</code></p>
  
  <p>How do I instantiate VMs only if there is the element on the page and avoid the error?</p>
  
  <p><strong>NOTE:</strong> I'm using Rails asset pipeline, so, all the javascript is concatenated into a single file.</p>