tailwindcss-gradients | Tailwind CSS plugin to generate gradient background | Plugin library
kandi X-RAY | tailwindcss-gradients Summary
kandi X-RAY | tailwindcss-gradients Summary
Tailwind CSS plugin to generate gradient background utilities
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of tailwindcss-gradients
tailwindcss-gradients Key Features
tailwindcss-gradients Examples and Code Snippets
Community Discussions
Trending Discussions on tailwindcss-gradients
QUESTION
We are making a project with tailwindcss and it was going good until the clients wanted a "pixel perfect" design which meant that we needed to set every single thing in pixels instead of rem. So instead of adding 1 gajillon classes like h-1px, h-2px ... h-100px, etc. I desided to enable JIT mode and use h-[100px] instead. The problem is that the compiler keeps compiling, even tough i've changed nothing, and continues to do so, even when i stop the dev server, a process is running on port 3000 (i cannot start the server again, until i stop it). So.. the question is how to stop this infinite loop of recompialtion
im using: tailwindcss 2.1.2 tailwindcss/jit 0.1.18
my tw config is this for now, there might be something that is triggering the loop:
...ANSWER
Answered 2021-Aug-04 at 07:56I solved it, for anyone who has the same problem
first i had to uninstall @tailwindcss/jit dependency, as it is included in tailwind css v2.2.7+
then i had to configure postcss to use 'tailwindcss' instead of '@tailwindcss/jit',
then i changed my script to include TAILWIND_MODE=watch before my tailwind build script, and added --watch to the end
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tailwindcss-gradients
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page