Tailwind CSS module for Nuxt with modern css ⚡️
@nuxtjs/tailwindcss dependency to your project# Using yarn
yarn add --dev @nuxtjs/tailwindcss
# Using npm
npm install --save-dev @nuxtjs/tailwindcss
@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 ✨
You can contribute to this module online with CodeSandBox:
Or locally:
yarn installyarn dev:prepareyarn devCopyright © Nuxt Community