Mount UI content script on extension click

I feel incredibly silly not being able to work this out without weird workarounds, but what is the "native" way to inject ui into the main world / page you are seeing in Plasmo? I'm new to the chrome extension game, and i could get a background script to inject ui on click, but i cant seem to figure out how to inject the ui on extension click with using the whole mount react component thing with anchors etc. Any resources beyond just the docs.plasmo on how to mount the components?
2 Replies
BertBert
BertBertOP•2w ago
My initial thought was just to load the content when a message was received that it was clicked, sent from a background script. Is this the best practice?
Arcane
Arcane•2w ago
@BertBert has reached level 1. GG!

Did you find this page helpful?