title: Vue 2 - render components from an ajax response
body: <p>Is there a way to render components that come from an ajax response? 
  For example, I registered a component "Test" and in the ajax response I have: </p>
  
  <pre><code>&lt;p&gt;dummy paragraph&lt;/p&gt;
  &lt;test&gt;&lt;/test&gt; &lt;!-- vue component I want to render --&gt;
  &lt;p&gt;another dummy paragraph&lt;/p&gt;
  </code></pre>
  
  <p>My final goal is to make a shortcode that lets the user insert a router link in the content area.</p>
  
  <p>I'm using Vue 2, vue router</p>
  
  <p>Edit: here is a demo <a href="https://jsfiddle.net/Paulius_Krutkis/4mb1ypqs/" rel="nofollow noreferrer">https://jsfiddle.net/Paulius_Krutkis/4mb1ypqs/</a></p>