@nuxtjs/tailwindcss-edge
Nuxt Tailwind
Tailwind CSS module for Nuxt with modern css ⚡️
Features
- 👌 Zero configuration to start (see video)
- 🪄 Includes CSS Nesting with postcss-nesting
- 🎨 Discover your Tailwind Colors (see video)
- ⚙️ Reference your Tailwind config in your app
- 📦 Extendable by Nuxt modules
- 🚀 Nuxt 3 support
Quick Setup
- Add
@nuxtjs/tailwindcssdependency to your project
# Using yarn
yarn add --dev @nuxtjs/tailwindcss
# Using npm
npm install --save-dev @nuxtjs/tailwindcss
- Add
@nuxtjs/tailwindcssto themodulessection ofnuxt.config.js
{
modules: [
'@nuxtjs/tailwindcss'
]
}
That's it! You can now use Tailwind classes in your Nuxt app ✨
Contributing
You can contribute to this module online with CodeSandBox:
Or locally:
- Clone this repository
- Install dependencies using
yarn install - Prepare for development using
yarn dev:prepare - Start development server using
yarn dev
License
Copyright (c) Nuxt Community
Related Packages
@nuxtjs/sitemap
Powerfully flexible XML Sitemaps that integrate seamlessly, for Nuxt.
10,334,110
441
Version History
Pre-releases (9)
| Version | Released | Vue | License |
|---|---|---|---|
| 5.3.0-a9077c2 | ^3.0 | MIT | |
| 5.2.0-e891221 | ^3.0 | MIT | |
| 5.2.0-b745f74 | ^3.0 | MIT | |
| 5.2.0-e98a32f | ^3.0 | MIT | |
| 5.2.0-30d68d5 | ^3.0 | MIT | |
| 5.2.0-d76e77a | ^3.0 | MIT | |
| 5.2.0-634b785 | ^3.0 | MIT | |
| 5.2.0-4af18c5 | ^3.0 | MIT | |
| 5.2.0-a8240b6 | ^3.0 | MIT |
