You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for reaching out. I am sharing an example setup that I created for one of my clients.
You can create the main injection script in content/injection folder.
(or wherever you want to structure it, crxjs and vite handle it. see: https://github.com/crxjs/chrome-extension-tools)
And you can import it inside content/index.ts
Usually in vanilla js I use
content_script.js
that will injectscript.js
to the page but I can't find any example related to that?Second question is where to place that
script.ts
to triggerscript.js
build and include it inHMR
?The text was updated successfully, but these errors were encountered: