ce
ce
PD🧩 Plasmo Developers
Created by yeetimameme on 7/10/2024 in #🔰newbie
run dev plasmo
I'm not sure, but could be node version be the problem? You could try v18
6 replies
PD🧩 Plasmo Developers
Created by redas4 on 7/10/2024 in #🔰newbie
files get overwritten when I restart the development server; build/chrome-mv3-dev
Don't write any file build/, they are the compiled .js and .html files that are automatically generated by the dev server If you want to write a popup, check the docs on how to create a popup file under the src/ directory. It's pretty straightforward
3 replies
PD🧩 Plasmo Developers
Created by hibichan on 7/17/2024 in #🔰newbie
I wanna make a button to change some on current page
As for the storage API implementation that you need, you may provide some context
14 replies
PD🧩 Plasmo Developers
Created by hibichan on 7/17/2024 in #🔰newbie
I wanna make a button to change some on current page
I'm not sure if I get your question correctly, but if the gist is you have a button in popup, and want to somehow communicate with a content script that uses the storage api.. if so,
in your popup, use the sendToContentScript provided by the plasmo messaging API. In your content script, use the useMessage hook from the same API to intercept the message sent by the popup
14 replies