0.1.0 • Published 4 years ago

tailwindcss-stack-plugin v0.1.0

Weekly downloads
1
License
Apache 2
Repository
github
Last release
4 years ago

Github Action CI

Tailwindcss Stack Plugin

Plugin for stacked layouts with Tailwindcss.

Read more about Stack-Layout patterns and the problems they solve on every-layout.dev

Installation

First you have to add the plugin to your project:

yarn add tailwindcss-stacklayout-plugin -D
# or
npm i tailwindcss-stacklayout-plugin -D

In your tailwind.config.js file you have to add the actual plugin in the plugins section:

const stackPlugin =  require('tailwindcss-stack-plugin')

module.exports = {
  // ...
  plugins: [
    stackPlugin
  ],
}

That's it! Next time you generate your CSS with Tailwind, the stack utilities will be added.