Closed rylanharper closed 1 month ago
Duplicate - https://github.com/nuxt-modules/tailwindcss/issues/574
This is an intentional message from tailwindcss core when no utility classes are found in your source files yet: https://github.com/tailwindlabs/tailwindcss/blob/89f0f54751639db11affc4f60592002ef14c7ed6/src/lib/expandTailwindAtRules.js#L276
Environment
Reproduction
This package has always been working well for me, but last night I installed
@nuxtjs/tailwindcss
on a new project and noticed some errors/warnings, despite the module being define in mynuxt.config
.I get the following errors:
On top of this, in my
tailwind.config.ts
file,tailwindcss
states thatCannot find module 'tailwindcss' or its corresponding type declarations.ts
Here is a Stackblitz of the issue (check the console), although I cannot seem to get the
tailwind.config.ts
TypeScript warnings to show up (but it is on my project).Describe the bug
The
@nuxtjs/tailwindcss
should recognize the default tailwind utility classes and type imports.Additional context
Should also be noted that I am using
pnpm
for my personal project, but the issue does seem to appear when usingnpm
on StackblitzLogs
No response