YuraDev/vue-chrome-extension-template

How to interact with page elements

Opened this issue · 1 comments

I Would like to get some form fields and populate with data stored in vue and in the other hand I would like also scrape page to pass data to vue. How can I do that?

get data in the content page pass to background save
use this in the popup.vue created

var bg = chrome.extension.getBackgroundPage();
bg.test();// test is a function in bg