assasdasdss_asdssw_sa
v5.0.0-1
Published
TailwindCSS module for Nuxt
Downloads
2
Readme
@nuxtjs/tailwindcss
Tailwind CSS module for NuxtJS with modern css ⚡️
Features
- 👌 Zero configuration to start (see video)
- 🗜 PurgeCSS included for minimal CSS ⚡️
- ⚡️ Supports Tailwind Just-In-Time
- 🪄 Includes CSS Nesting with postcss-nesting
- 🎨 Discover your Tailwind Colors (see video)
- ⚙️ Reference your Tailwind config in your app
- 📦 Extendable by Nuxt modules
Quick Setup
- Add
@nuxtjs/tailwindcss
dependency to your project
# Using npm
npm install --save-dev @nuxtjs/tailwindcss
# Using yarn
yarn add --dev @nuxtjs/tailwindcss
- Add
@nuxtjs/tailwindcss
to thebuildModules
section ofnuxt.config.js
{
buildModules: [
'@nuxtjs/tailwindcss'
]
}
ℹ️ If you are using nuxt < 2.9.0
, use modules
property instead.
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
ornpm install
- Start development server using
yarn dev
ornpm run dev
License
Copyright (c) Nuxt.js Team