How to set a page' data which using vue.js?

I’m making an extension for a page that using vue.js, the content scripts can’t access the page’s scripts’ variables, while modify the DOM (for example input.value = “aaa”) dose not change the vue object’s data. Dose anyone kowns how to modify the page’ data which using vue.js? Thanks in advance.

Usually the best way to interact with frameworks like vue is to fire the relevant events, like an “input”, “keypress” event etc.

Thanks Martin for your advice, it works! You helped me a lot, thank you again!