tailwindcss with django
mkdir css; touch css/tailwind.csscd your-django-folder; mkdir jstoolchain; cd jstoolchain
npm install tailwindcss postcss-cli autoprefixer
npx tailwind init
touch postcss.config.js"build": "postcss css/tailwind.css -o ../your-django-folder/your-path-to-static/css/tailwind-output.css",module.exports = {
plugins: [
require('tailwindcss'),
require('autoprefixer')
]
}<head>
<link rel="stylesheet" href="{ % static "css/tailwind-output.css" %}">
</head>
Also in JavaScript:
- continue foreach javascript
- jQuery Validate remote method usage to check if username already exists
- The value associated with each key will be an array consisting of all the elements that resulted in that return value when passed into the callback.
- how to remove backslash from string in javascript
- hi;ight word in textarea javascript
- hadoop master node storage configuration
- javascript iterate over object
- how to read json file in C#
- javascript modal
- if alternative javascript
- js split string
- change abclground onload jquery
- pick equivalen in es6
- horizontal tabs in react js
- javascript object tostring
- javascript how to select a array
- javascript join 2 variables into string
- stackoverflow narrate text js
- 'userprofile/:id', ionic
- find particular object from array in js
- nodejs promise then example
- javascript date timezone
- for in js loop
- check if field exists in object javascript