尝试在tailwind.js.js中手动添加shadow属性,就像extend中的这样:boxShadow:{ dark:“8 px 6px 24 ...
对于tailwind.config.js也是如此
If you run next dev --turbopack in pnpm, tailwind is not applied, but if you run next dev without turbopack, tailwind works fine. I don't have this problem with npm and yarn, but only with pnpm.
[Steps: Open this link to live example: (required) ](https://speakonlynow.vercel.app/) Current behavior When I build, my tailwind css classnames written to the material ui components are not working, everything is fine in dev mode Expected behavior When I build, my classnames should work...
对于tailwind.config.js也是如此
Post as a guest Name Email Required, but never shown Post Your Answer By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy. Browse other questions tagged next.js tailwind-css or ask your own question. The...
"sm:tw-w-[5rem] md:tw-w-[10rem] tw-rounded-full float-end tw-mt-[-3rem]"
I set up the colors in the tailwind.config.ts file and use them throughout the app. But when it comes to the pages for a specific blog post, only a few colors (the blue and red (light mode)) are working even though they are added dynamically. ...
In Netify youu can use a env var called NPM_FLAGS and you set to --legacy-peer-deps or --force but that method did not work for DO ! I am guessing we may need to do it from package.json here’s what i am working with: { "name": "blooming-b...
When working with Next.js, the Image component offers features like optimization, responsive sizing, and lazy loading for better performance. However, styling these images with Tailwind CSS while keeping the code clean and ensuring image optimization works can be challenging. Our goal is to show th...