You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following TS errors: Cannot find module 'tailwindcss' or its corresponding type declarations.ts(2307) Cannot find module 'tailwindcss/colors' or its corresponding type declarations.ts(2307)
These errors don't occur if using npm or yarn, only with pnpm. I'm new to using pnpm, so did I do something wrong or miss a step?
The text was updated successfully, but these errors were encountered:
I think something may be specific to your project/editor; it's difficult to say without looking at the project / getting entire context, but the setup for that is likely outside the scope of this module. You can try using shamefully-hoist with pnpm (but it shouldn't be required). 🙂
Following the documentation, installing this module with pnpm as such:
pnpm i -D @nuxtjs/tailwindcss
. Setting uptailwind.config.ts
as:Getting the following TS errors:
Cannot find module 'tailwindcss' or its corresponding type declarations.ts(2307)
Cannot find module 'tailwindcss/colors' or its corresponding type declarations.ts(2307)
These errors don't occur if using npm or yarn, only with pnpm. I'm new to using pnpm, so did I do something wrong or miss a step?
The text was updated successfully, but these errors were encountered: