vue.js – which function to use to parse received html fragment with vue tags?

My server is rendering an HTML table from dynamic data and provides it to the browser with xmlhttprequest. Now, that I try to use vue.js, the question arises, if it is possible to have vue attributes added to that table server side, like, e.g. @click such that it will work on browser side.

As the html arrives as a plain string, I muse, I either have to call a vue parse function on the string or add it to the DOM first and then have vue re-parse that subtree.

Here the same I said before, but in terser form:

  • Browser: Fetch Table
  • Server: Respond with table, plain html string (with vue attributes).
  • Vue function ??? to use?

The server is NOT node.js and I am updating a working system. I can change the server code, but will not change the server implementation language.

Ideas? Please respond beginner friendly – this is my second day with the vue.js framework. I did quite some reading but the documentation seems to take it for granted, that the back end is running on node.js.