[BUG] - How can I integrate heroui into chrome extension develop framework?
HeroUI Version
2.8.0-beta.7
Describe the bug
I use this framework to develop a chrome extension, the stack is react, vite4, tailwindcss. After I install heroui and add a spinner component on contentScript, it doesn't work.
Your Example Website or App
https://github.com/zshnb/chatgpt-conversation-map/tree/feat/integrate-hero-ui
Steps to Reproduce the Bug or Issue
- install heroui
- setup with tailwindcss/vite
- add component on content script
Expected behavior
expect spinner work
Screenshots or Videos
No response
Operating System Version
macOS
Browser
Chrome
@zshnb I cloned your project and implemented the spinner on home page. It works in this page, please check your implementation or share a reproducible environment
https://github.com/user-attachments/assets/03c8a960-85cb-48bd-8511-e3d79aa26117
it's didn't work in content script, your test is in popup or content script?
The spinner appears to be functioning correctly; however, it seems that Tailwind CSS may not be configured properly in your setup.
The text is also not rendering as expected
got it, do you know how can I setup correctly with tailwindcss, then content can be display?
I ran into the same issue. Heroui does not work in the content script. Did you have any luck?
https://github.com/wxt-dev/wxt/issues/1572#issuecomment-3186066282