Replies: 2 comments 1 reply
-
Bumping this... tried everything and can't get Tailwind to work. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Prefix your path with tilde ~ @import "~tailwindcss/base"; |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use Tailwind inside a NextJS project and whenever it tries to compile, I get this error:
Variant cannot be generated because selector contains no classes.
Here is my tailwind.config.js:
postcss.config.js:
This happens only when I import
"./tailwind.css"
into a file and attempt to save the file. I tried importing"./utilities.css"
on its own, but this throws the same error.I am using v1.9.6
I can only find one instance of this issue in Google and it was unresolved. Any help would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions