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 = moduleexports = // ... plugins: stackPlugin
That's it! Next time you generate your CSS with Tailwind, the stack utilities will be added.