Injecting React app with content scripts #230
Unanswered
thiagodesa26
asked this question in
Q&A
Replies: 2 comments 1 reply
-
@thiagodesa26 This is coming in #224 I'll release an article with detailed instructions. |
Beta Was this translation helpful? Give feedback.
1 reply
-
just curious how did you guys solve the challenge? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks,
Awesome work you're doing here.
I'm using the vite beta version of the plugin and have an use case where the react app needs to be injected to the pages.
This would need to be done via content scripts. I tried setting the html.js resultant from the build command as the content script in the manifest.json but it errors out when the script tries to load react's vendor js since it uses the import key. I've tried multiple workarounds with no luck.
Are you able to provide a simple small example of usage for the plugin + react + ts + injection via content script?
Tks!
Beta Was this translation helpful? Give feedback.
All reactions