question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tailwind JIT support

See original GitHub issue

Is your feature request related to a problem? Please describe. Tailwind recently added JIT to speed-up the development process and allow us to use new features. It would be great to have this implemented.

Describe the solution you’d like This could be an option when doing ng add

Info: https://blog.tailwindcss.com/just-in-time-the-next-generation-of-tailwind-css

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:14
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
TryHardDoodcommented, Mar 24, 2021

@Meldiron You can use what I’m currently using as a workaround until we get the official support. It only works from Angular 11.2 and up.

https://github.com/TryHardDood/ngx-tailwind

1reaction
NetanelBasalcommented, Mar 24, 2021

We need to replace tailwind with @tailwindcss/jit and add the TAILWIND_MODE=watch environment variable.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Just-in-Time Mode - Tailwind CSS
Tailwind CSS v2.1 introduces a new just-in-time compiler for Tailwind CSS that ... The JIT engine adds support for styling pseudo-elements like ::before ......
Read more >
Master Tailwind CSS With Its Just-in-Time (JIT) Mode - Kinsta
Learn all the ins and outs of Tailwind CSS JIT mode, which is its ... The support is rapid and outstanding, and their...
Read more >
tailwindlabs/tailwindcss-jit - GitHub
Currently the JIT project only supports PostCSS 8. We may do a compat build like we do for Tailwind, but it isn't a...
Read more >
Exploring JIT mode in Tailwind CSS - LogRocket Blog
A deep dive into Tailwind CSS's new Just-In-Time mode, including practical examples of its benefits and drawbacks.
Read more >
How to apply arbitrary styles with tailwind JIT - Educative.io
How to apply arbitrary styles with tailwind JIT ... Tailwind is a utility first CSS framework that gives developers full control over styling...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found