I have A Vue component which is basically a shorthand for complex HTML markup.
On initial load, Everything works fine.
I am using AJAX to load more of these components onto the page, The problem is that this component, after being loaded with AJAX, doesn't want to get compiled into HTML I only get the un-rendered Vue component like below:
<component><slot>content</slot></component>
I have looked at Vue.compile() and the render function but cannot figure out how to get this working or how to re-render? the components.
Hope that makes sense, Can anyone shed some light on what I should be doing here?