Mount Svelte Component on Action Button Click
Hi there, I'm using Plasmo with Svelte. What I am trying to do is to insert a svelte component (CSUI) into the page when the extension icon (action button) is clicked. I managed to create a listener for the action button click in a background script from where I can trigger a function. But I am not sure how to write the function so that it mounts a specific svelte component within a shadow root container. Any advice?
0 Replies