Socket
Socket
Sign inDemoInstall

@nuxtjs/tailwindcss

Package Overview
Dependencies
338
Maintainers
7
Versions
163
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nuxtjs/tailwindcss

TailwindCSS module for Nuxt


Version published
Weekly downloads
196K
increased by1.62%
Maintainers
7
Install size
58.7 MB
Created
Weekly downloads
 

Changelog

Source

v6.12.0

compare changes

🚀 Enhancements

  • First class hmr (#818)

💅 Refactors

  • First class HMR support (#795)
  • First class HMR support " (#795, #817)

📖 Documentation

  • Update configuration docs (#827)
  • Use new nuxi module add command in installation (#829)
  • Update classRegex, closes #824 (#824)

🏡 Chore

  • Remove unneeded postcss-custom-properties plugin (#836)
  • Migrate to eslint v9 (#834)
  • Update deps (87fb919)

❤️ Contributors

Readme

Source

@nuxtjs/tailwindcss

Nuxt Tailwind

npm version npm downloads License Nuxt Tailwind CSS Volta board

Tailwind CSS module for Nuxt ⚡️

Features

📖  Read more

Quick Setup

Add @nuxtjs/tailwindcss using the Nuxt CLI to your project

npx nuxi@latest module add tailwindcss

or add @nuxtjs/tailwindcss using your dependency manager

# Using pnpm
pnpm add --save-dev @nuxtjs/tailwindcss

# Using yarn
yarn add --dev @nuxtjs/tailwindcss

# Using npm
npm install --save-dev @nuxtjs/tailwindcss

and then to the modules section of nuxt.config.{ts,js}

export default defineNuxtConfig({
  modules: [
    '@nuxtjs/tailwindcss'
  ]
})

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

You can test latest additions on Nightly Releases!

📖  Read more

Contributing

You can contribute to this module online:

Edit @nuxtjs/tailwindcss in CodeSandbox Edit @nuxtjs/tailwindcss in Codeflow

Or locally:

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

Docs

Nuxt UI Pro

You can run docs/ locally by using pnpm docs:dev, or to run a build:

  1. Make sure to add your Nuxt UI Pro license in the .env file before building the application.
  2. Run SSG build using pnpm docs:build
  3. Review the production build locally using pnpm docs:preview

Check out the deployment documentation for more information.

License

MIT - Made with 💚

FAQs

Last updated on 17 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc