@vituum/vite-plugin-tailwindcss
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

npm package node compatility

⚡️🎨 ViteTailwindCSS

Adds out of the box support for TailwindCSS with following PostCSS plugins:

Basic usage

import tailwindcss from '@vituum/vite-plugin-tailwindcss'

export default {
  plugins: [
    tailwindcss()
  ]
}
  • Don't forget to also add your tailwind.config.js, learn more here.
  • If you want to add more PostCSS plugins, add them via css.postcss.plugins.
  • If you want to use postcss.config.cjs add css.postcss: process.cwd(), PostCSS config and it's plugins will be used instead

Read the docs to learn more about plugin options

Requirements

Readme

Keywords

none

Package Sidebar

Install

npm i @vituum/vite-plugin-tailwindcss

Weekly Downloads

426

Version

1.2.0

License

none

Unpacked Size

10.8 kB

Total Files

7

Last publish

Collaborators

  • evromalarkey