tomdyson / django-tailwind

Django + Tailwind CSS = πŸ’š

Home Page:https://timonweb.com/django/installing-tailwind-css-v2-django/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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;

Requirements

Python 3.7 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.

Migration from Django-Tailwind v1.x:

Check docs for the Migration 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

About

Django + Tailwind CSS = πŸ’š

https://timonweb.com/django/installing-tailwind-css-v2-django/

License:MIT License


Languages

Language:Python 68.0%Language:JavaScript 22.2%Language:HTML 6.0%Language:Dockerfile 3.1%Language:CSS 0.4%Language:Makefile 0.3%