Skip to content

Files

Latest commit

 

History

History

tailwindcss-preset

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

@yoast/tailwindcss-preset

This package aims to provide a Tailwind CSS preset for building Yoast packages.

Installation & setup

Start with installing the package and its peer dependencies from NPM:

yarn add --dev @yoast/tailwindcss-preset tailwindcss @tailwindcss/container-queries @tailwindcss/forms

Then, in your tailwind.config.js file, extend the preset like so:

module.exports = {
    presets: [ require( "@yoast/tailwindcss-preset" ) ],
    // Your custom configuration.
};