Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Use Tailwind CSS's JIT compiler in the browser by including a single script tag.
Tailwind JIT CDN is a browser tool that loads Tailwind CSS's JIT compiler into any HTML page via a single script tag, enabling utility-first styling without a build step.
Tailwind JIT CDN is an open-source script that runs Tailwind's new JIT compiler directly in the browser. By including the script tag https://unpkg.com/tailwindcss-jit-cdn in your HTML, you get on-demand generation of Tailwind utility CSS without needing Node.js, npm, or a PostCSS configuration. The project was created by Marcel Pociot and is maintained by Beyond Code, and it is released under the MIT license.
Include the script tag in the head or body of your HTML. When the page loads, the script fetches the Tailwind JIT compiler from unpkg, scans your markup for class names, and injects the resulting compiled CSS as a style tag. The output replaces the need for a separate CSS build pipeline.
The package is free to use. It is open source under the MIT License, and the source code is available on GitHub.
It runs the Tailwind CSS JIT compiler in the browser. After you include the script tag, utility classes in your HTML are converted into CSS on the fly, so you get Tailwind styling without a build step.
Yes. The project is published under the MIT License, and the repository is hosted on GitHub with a credits list and license file.
The package was created by Marcel Pociot, with a list of contributors in the GitHub repository. It is part of the Beyond Code line of free developer services.
Add <script src="https://unpkg.com/tailwindcss-jit-cdn"></script> to your HTML, open the page, and start using Tailwind classes. That is the complete setup.
Beyond Code maintains an in-depth blog post about the package at https://beyondco.de/blog/tailwind-jit-compiler-via-cdn.
