As I migrate a website from AngularJS 1.x to Angular 2.x, I am faced with the challenge of replacing the $compile service which is no longer supported. In the current application, there is a directive that resembles
<myDir elemId="someRestEndPointID"></myDir>
and it performs the following tasks:
1) An HTTP request is made and the response includes a string containing the directive
<myDir elemId="someRestEndPointID"></myDir>
2) A server call is initiated for /someRestEndPointID
3) Angular processes the content, renders it, and searches for another <myDir>
tag
4) This process repeats recursively
I am currently exploring how to achieve similar functionality in our new Vue.js framework. Can anyone recommend a feature or library that can replicate this behavior in Vue.js?