This project demonstrates the integration of Tailwind CSS (version 3.4.14) with Django (version 5). Additionally, it includes Prettier for formatting Tailwind CSS classes on save.
Follow these steps to get the project up and running:
-
Clone the Repository
Clone the repository to your local machine. -
Install NPM Packages
Navigate to the project directory and install the necessary npm packages:npm install
-
Start the Tailwind CSS Watcher
Compile styles by starting the Tailwind CSS watcher:npm run watch:css
-
Run the Django Development Server
Launch the Django development server with:python manage.py runserver
Once these steps are completed, you can explore the project with Tailwind CSS seamlessly integrated into your Django application!
This project includes Prettier for formatting Tailwind CSS classes automatically on save. Ensure you have the Prettier extension installed in your code editor for this functionality.