tailwindcss-stack-plugin
v0.1.0
Published
![Github Action CI](https://github.com/tnobody/tailwindcss-stacklayout-plugin/workflows/Node.js%20Build%20and%20Validate/badge.svg)
Downloads
3
Readme
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.