Skip to content

quiint/django-tailwind-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example TailwindCSS + Django project

Open in Gitpod

This is an edited version of django-tailwind's example (which can be found here)

To run the example project:

Make sure nodejs and npm is installed on your device. If you are running on Windows, uncomment NPM_BIN_PATH in settings.py

(Optional) Create a venv for dependency management

python -m venv env

Windows:

cd env
Scripts\activate.bat

MacOS/Linux:

cd env
source bin/activate
  1. Install dependencies via pip:

    pip install -r requirements.txt
  2. Install TailwindCSS depencies:

    python manage.py tailwind install
  3. Start tailwind development server

    python manage.py tailwind start
  4. Run development server:

    python manage.py runserver
  5. Open http://localhost:8000 in a browser. You should see the main page.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published