A Nuxt module that seamlessly integrates Tailwind CSS into Nuxt applications with zero configuration.
Nuxt Tailwind is a module that integrates Tailwind CSS into Nuxt.js applications. It provides a streamlined setup process, allowing developers to use Tailwind's utility classes directly in their Nuxt projects without complex configuration. The module handles the build process and ensures compatibility between Nuxt and Tailwind CSS.
Nuxt.js developers who want to use Tailwind CSS for styling their applications efficiently, particularly those looking for a minimal-configuration solution.
It offers a first-party, officially supported integration that reduces setup time to near zero while providing hooks for advanced customization, making it the most straightforward way to use Tailwind with Nuxt.
Tailwind CSS module for Nuxt
The module requires no initial setup, allowing developers to start using Tailwind classes immediately after installation, as highlighted in the README's 'Zero configuration to start' feature.
Designed as a native Nuxt module, it ensures smooth compatibility and updates within the Nuxt framework, reducing integration headaches compared to manual setups.
Allows customization of Tailwind configuration using Nuxt module hooks, providing flexibility for advanced use cases without overriding defaults, as mentioned in the features.
Compatible with Tailwind CSS 4, enabling modern styling capabilities and future-proofing projects, as indicated in the version note for the v7 branch.
The module has separate branches for different Tailwind CSS versions (v7 for Tailwind 4, v6 for Tailwind 3), which can lead to confusion and migration challenges during upgrades.
It's tightly coupled with Nuxt.js, so if a project migrates away from Nuxt, the styling setup must be entirely reconfigured, limiting framework flexibility.
While hooks allow extension, customizing beyond defaults requires deep knowledge of both Nuxt module hooks and Tailwind configuration, adding complexity for non-trivial changes.
A Prettier plugin for Tailwind CSS that automatically sorts classes based on our recommended class order.
A local UI tool for visualizing your Tailwind CSS configuration file.
tailwindcss-rails is a Ruby gem that simplifies using Tailwind CSS within Ruby on Rails applications. It provides a native integration with Rails' asset pipeline, offering installation tasks, build commands, and live-reload capabilities for a smooth development experience. ## Key Features - **Asset Pipeline Integration** — Automatically hooks into Rails' `assets:precompile` and `test:prepare` tasks to generate Tailwind CSS during production builds and test runs. - **Live Rebuild Support** — Includes a Puma plugin and watch tasks for automatic CSS regeneration during development when files change. - **Version Management** — Supports both Tailwind CSS v3 and v4, with an upgrade task to help migrate between major versions. - **Plugin Compatibility** — Allows using Tailwind plugins via npm/Yarn packages and `@plugin` directives in CSS. - **Rails Engine Support** — Experimental feature to include Tailwind CSS from Rails engines in the host application's build. ## Philosophy The gem aims to provide a minimal, convention-over-configuration approach to using Tailwind CSS in Rails, avoiding JavaScript toolchain complexity while maintaining compatibility with Tailwind's ecosystem.
CLI for organizing Tailwind CSS classes
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.