Docs
Installation

Installation

Learn how to install and set up Jun Layout, a Tailwind CSS plugin for building flexible layouts.

Prerequisites

Ensure you have the following installed:

Installation

npm install tailwindcss-jun-layout

Tailwind CSS v3

Then add the plugin to your tailwind.config.js:

// tailwind.config.js;
module.exports = {
  content: [
    // ...
  ],
  plugins: [
    // ...
    require("tailwindcss-jun-layout"),
  ],
};

Tailwind CSS v4

Use the new @plugin directive in your main CSS file:

@import "tailwindcss";
 
@plugin "tailwindcss-jun-layout";

IntelliSense

After completing the installation, type jun- in a class. If you see the autocompletion like the image below, you are good to go.


image

Note: you must have Tailwind CSS IntelliSense installed first.