-
Notifications
You must be signed in to change notification settings - Fork 694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined tailwind variables, css sourcemap warnings #2964
Comments
The warning is due to Vite, this has been reported to the Tailwind CSS team already. However, the generated |
Thanks for the reply, I think I understand better. The default shadow was so light that I just couldn't even discern it by default. |
Could you please provide a link to the ticket here? It would be very helpful for tracking purposes. Thank you. |
@vighnesh153 There are multiple issues/dicussions:
It seems the lexical error warning has already been fixed upstream by |
Environment
Is this bug related to Nuxt or Vue?
Nuxt
Version
@nuxt/[email protected]
Reproduction
https://github.com/endquote/github-ugsebknu
Description
Tailwind in general is working fine for layout classes. However if I use a class like
drop-shadow-lg
it does not have an impact as it seems some variables are undefined.Perhaps related, I'm seeing these warnings when building:
In
nuxt.config.ts
I have this:css: ["~/assets/css/main.css"]
In
main.css
I have this:Additional context
I'm new to vue/nuxt/tailwind so it's entirely possible I'm doing something wrong.
Logs
The text was updated successfully, but these errors were encountered: