I use Vue components across my site that just replace some bunch of code (just some shorthands for complex HTML markup). I also use AJAX to just replace #content of my HTML page so that it doesn't need to refresh every page every time.
Everything works fine, except when I try to load a page that contains a Vue component. The problem is that this component, after being loaded with AJAX, doesn't want to get compiled into HTML.
I have already tried to use
Vue.compile() but it does not work, I have also tried to rerun my
new Vue instance — the same sad result.
Could someone please help me with this problem?
Thank you in advance.