1.0.1 • Published 4 years ago

tailwind-extended-apply v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
4 years ago

Tailwind Extended Apply

responsive variants are now allowed with tailwind's apply. Example: @apply sm:w-1/2

Usage

  1. Install tailwind.
npm i tailwindcss
  1. Install Tailwind Extended Apply.
npm i tailwind-extended-apply
  1. Add or edit postcss.config.js file. It's important to keep require('tailwind-extended-apply') above require('tailwindcss').
module.exports = {
  plugins: [
    // ...
    require('tailwind-extended-apply'),
    require('tailwindcss'),
    // ...
  ]
}

Author