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
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
Quick Setup
- Add
@nuxtjs/tailwindcssdependency to your project
# Using npm
npm install --save-dev @nuxtjs/tailwindcss
# Using yarn
yarn add --dev @nuxtjs/tailwindcss- Add
@nuxtjs/tailwindcssto thebuildModulessection 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 installornpm install - Start development server using
yarn devornpm run dev
License
Copyright (c) Nuxt.js Team
