Replies: 1 comment
-
related: #1021 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm developing a chrome extension and have a "strange" issue related with styles in hot reloading.
My extension runs a content script in current tab a "injects" a small window with some options.
I'm using react and tailwind for the code of the window and for some reason only de "default" styles of tailwind works, i.e.
bg-blue-600
. If I change the style tobg-blue-800
the change takes no effect until a restart the vite server.This is my
vite.config.ts
file:This is my manifest:
This is the
context.tsx
script:Everything seems to work fine except inside
MyApp
if I change tailwind class names changes doesnt take effect until I refresh the server.Any ideas?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions