JSPM

@nuxtjs/tailwindcss

3.3.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 262217
  • Score
    100M100P100Q170500F
  • License MIT

TailwindCSS module for Nuxt.js

Package Exports

  • @nuxtjs/tailwindcss

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@nuxtjs/tailwindcss) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@nuxtjs/tailwindcss

@nuxtjs/tailwindcss

npm version npm downloads Github Actions CI Codecov License

Tailwind CSS module for NuxtJS with modern css âšĄī¸

Features

  • Zero configuration to start
  • PurgeCSS included for minimal CSS
  • Use latest CSS features (Stage 1)
  • Reference your Tailwind config in your app
  • Extendable by Nuxt modules

📖  Read more

Quick Setup

  1. Add @nuxtjs/tailwindcss dependency to your project
# Using npm
npm install --save-dev @nuxtjs/tailwindcss
# Using yarn
yarn add --dev @nuxtjs/tailwindcss
  1. Add @nuxtjs/tailwindcss to the buildModules section of nuxt.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 ✨

📖  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 or npm install
  3. Start development server using yarn dev or npm run dev

License

MIT License

Copyright (c) Nuxt.js Team