Check out example codes for "tailwindcss with django". It will help you in understanding the concepts better.

Code Example 1

"build": "postcss css/tailwind.css -o ../your-django-folder/your-path-to-static/css/tailwind-output.css",

Code Example 2

mkdir css; touch css/tailwind.css

Code Example 3

module.exports = {
    plugins: [
        require('tailwindcss'),
        require('autoprefixer')
    ]
}

Code Example 4

cd your-django-folder; mkdir jstoolchain; cd jstoolchain
npm install tailwindcss postcss-cli autoprefixer
npx tailwind init
touch postcss.config.js

Code Example 5

<head>
  <link rel="stylesheet" href="{% static "css/tailwind-output.css" %}">
</head>

Learn ReactJs, React Native from akashmittal.com