AP
Explore posts from serversPD🧩 Plasmo Developers
•Created by AP on 2/10/2024 in #👾extension
Help with showing script ui. (content.tsx) when clicking on chrome extension
Hi! I'm trying to show the script ui (modal content using a content script ui) when clicking on the chrome extension icon instead of showing a popup.
I have this in content.tsx:
my background.ts:
What I'm confused on:
- do we still have to compile the tsx/ts files to js using tsc? if so, would those compiled files be in the .plasmo or build directory?
- do we need to make any changes in package.json or tsconfig.json as well?
thanks ahead!
4 replies