Replies: 1 comment 6 replies
-
|
Seems like the third-party CSS could be authored incorrectly. I would expect the URL to be wrapped with @import url("https://fonts.googleapis.com/css2?…");@layer theme,base,components…However it might not be neccessary. Though I think perhaps at least a space does need to exist as you have found: @import "https://fonts.googleapis.com/css2?…";@layer theme,base,components… |
Beta Was this translation helpful? Give feedback.
6 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 am currently using version
4.1.16oftailwindand@tailwindcss/vite. My project imports a third-party css file which starts with:When I run my project using
vite, this@importstatement disappears from the styles, causing the text to appear unstyled. Now, even weirder, if I manually edit the css file and put a space between@importand the url, the problem goes away.Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions