Skip to content

coldrye-collaboration/django-tailwind

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Tailwind CSS integration for Django a.k.a. Django + Tailwind = ๐Ÿ’š

Django Tailwind Demo

Goal

This project aims to provide a comfortable way of using the Tailwind CSS framework within a Django project.

Features

  • An opinionated Tailwind CSS setup that makes your life easier;
  • Hot reloading of CSS, configuration files, and Django templates. No more manual page refreshes!
  • Out of the box support for CSS imports, SASS-like variables, and nesting;
  • Includes official Tailwind CSS plugins like typography, form, line-clamp, and aspect-ratio;
  • Supports the latest Tailwind CSS v3.x;

For instructions on upgrading from v2 to v3, see this post on my blog.

Requirements

Python 3.8 or newer with Django >= 2.2 or newer.

Documentation

The full documentation is at https://django-tailwind.readthedocs.io/

Installation

Via PIP:

pip install django-tailwind

Check docs for the Installation instructions.

Bugs and suggestions

If you have found a bug, please use the issue tracker on GitHub.

https://github.com/timonweb/django-tailwind/issues

2019 - 2021 (c) Tim Kamanin - A Full Stack Django Developer

Packages

No packages published

Languages

  • Python 73.0%
  • JavaScript 15.9%
  • HTML 6.9%
  • Dockerfile 3.4%
  • Other 0.8%