This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Component Lacks Tailwind Styling When Injected Dynamically #1438
Labels
question
A question about usage, not a bug
Describe the bug
I am dynamically injecting a container component using the injectTailwind function. What I expect is that the dynamically created component displays with the Tailwind CSS styles (such as h-[300px], bg-slate-50, dark:bg-slate-900, etc.). What is actually happening is that the container renders without any Tailwind styling.
Reproduction
https://github.com/ntdgo/wxt-react-shadcn-tailwindcss-chrome-extension/blob/f13d3b5140a787d01c77240133e47b3ac0ce3c40/entrypoints/content/App.tsx#L56
Steps to reproduce
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: