tailwindcss

Add Tailwind CSS to your Nuxt application in seconds with PurgeCSS included for minimal CSS.

@nuxtjs/tailwindcss

Nuxt Tailwind

npm versionnpm downloadsLicenseVolta board

Tailwind CSS module for Nuxt with modern css ⚡️

Features

📖  Read more

Quick Setup

  1. Add @nuxtjs/tailwindcss dependency to your project
# Using yarnyarn add --dev @nuxtjs/tailwindcss# Using npmnpm install --save-dev @nuxtjs/tailwindcss
  1. Add @nuxtjs/tailwindcss to the modules section of nuxt.config.js
{  modules: [    '@nuxtjs/tailwindcss'  ]}

That's it! You can now use Tailwind classes in your Nuxt app ✨

📖  Read more

Contributing

You can contribute to this module online with CodeSandBox:

Edit @nuxtjs/tailwindcss

Or locally:

  1. Clone this repository
  2. Install dependencies using yarn install
  3. Prepare for development using yarn dev:prepare
  4. Start development server using yarn dev

License

MIT License

Copyright (c) Nuxt Community