the company has a set of js code shared by Wechat, which is written in native js.
you can configure the titles, profiles, thumbnails and so on shared by Wechat
I use it in vue. I put the js link directly under index.html, and the configuration method is also written under index.html, so that it can be shared and used normally.
but now there is a requirement for users to obtain data from the API after operation, and then insert the data into the title and profile shared by Wechat.
I don"t know how the data in the vue component is transferred to index.html.
or is there any other way?