How to integrate or embed R in Vue.js?

I am trying to migrate an existing R program over to Vue.js possibly showing with highchart.js.
But if there's more easy way, it would be great. That includes integrating or embedding the R in Vue.js app.
How can I do that? Here's also my question on stackoverflow.