Shurgbee (formerly truth)
Shurgbee (formerly truth)
PD🧩 Plasmo Developers
Created by Shurgbee (formerly truth) on 7/17/2024 in #🔰newbie
Why does the emotion-tailwind-antd example use 2 content scripts
I was using looking at this example to better understand how the framework functioned and I found it weird why inject.tsx was even made. All that it does is check for a tag and then create a div to contain the other elements? Is it for performance? Is it cause the 2nd file has many imports? Then why do both trigger on the same URL? Wouldn't that end up loading both anyway?
9 replies