Shadcn dosnt seem to work in content script ui
I have been trying to get Shadcn to work with CSUI. I followed almost everything from this server as well as the documentation, but it just doesn't seem to work. tailwind seems to work fine. am attaching some code can someone please help me out
index.tsx
css
tailwind config
10 Replies
dir looks like this
output demo button should have red bg and other styles
Hi @cholebhature7887 did you ever manage to fix this? Experiencing the same issue
Yes I have fixed it
@cholebhature7887 has reached level 3. GG!
Yes I have fixed it
@cholebhature7887 How did you manage to fix it? Having the same issue myself.
FYI, You need to edit your tailwind configs
content
to include the components folder, too. You can wildcard if you like (not sure about performance)
content: ["./**/*.{ts,tsx}"], // your content-script files
I can share code if anyone wants it just DM me
@cholebhature7887 maybe posting your solution here for others to find would be a nice idea