title: How to compile template loaded from external api in Vue
body: <p>I have a non-SPA web app that has <code>Vue</code> components and that works very well. However, I am looking for a way to load HTML that contains <code>Vue</code> via an external API.</p>
  <p>So, I simply make a call to <code>/ajax/dialogbox/client/add</code> which is returning HTML containing <code>Vue</code> components, like:</p>
  <pre class="lang-vue prettyprint-override"><code>&lt;h1&gt;Add client&lt;/h1&gt;
  &lt;div&gt;My static content&lt;/div&gt;
  &lt;my-component&gt;&lt;/my-component&gt;
  </code></pre>
  <p>but obviously <code>&lt;my-component&gt;&lt;/my-component&gt;</code> does not do anything.
  In <code>Angular 1</code> I was using <code>$compile</code> service to compile the HTML before output.</p>
  <p>Is there a way to do the same in <code>Vue</code>?</p>