Vue 2 - render components from an ajax response
问题 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>dummy paragraph</p> <test></test> <!-- vue component I want to render --> <p>another dummy paragraph</p> My final goal is to make a shortcode that lets the user insert a router link in the content area. I'm using Vue 2, vue router Edit: here is a demo https://jsfiddle.net/Paulius_Krutkis/4mb1ypqs/ 回答1: I am not sure, what is the exact issue you