Skip to content

frostming/lektor-tailwind

Repository files navigation

Lektor 💛 Tailwind CSS

A Lektor plugin that adds Tailwind CSS to your project seamlessly.

Build Status PyPI - Python Version PyPI

Get Started

  1. Add plugin to your project

    $ lektor plugin add lektor-tailwind
    $ lektor plugin list
  2. Add the Tailwind directives to your CSS

    In assets/static/style.css:

    @import "tailwindcss";
    @plugin "@tailwindcss/typography";
  3. Start lektor build or server:

    $ lektor build
    $ lektor server

You got it. Please refer to official Tailwind documentation for more information on using Tailwind CSS and its CLI.

Configuration

By default, the input CSS file in assets/static/style.css, while it can be changed by css_path plugin config.

About

A Lektor plugin that adds Tailwind CSS to your project seamlessly

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •