Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

tailwindcss with django

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

tailwindcss with django

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

tailwindcss with django

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

tailwindcss with django

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

tailwindcss with django

mkdir css; touch css/tailwind.css
Comment

PREVIOUS NEXT
Code Example
Javascript :: fire off some javascript on page load 
Javascript :: button inside popover not viible 
Javascript :: automatic jquery interceptor with token 
Javascript :: singly even magic square creation algorithm 
Javascript :: js packages 
Javascript :: install phantomjs Alpine Linux 
Javascript :: using chalk and morgan together 
Javascript :: parse ipv6 address using json 
Javascript :: how to access match object in class component 
Javascript :: how to check if a kendo drop down is enabled js 
Javascript :: add object to array setstate 
Javascript :: rrule exdate example 
Javascript :: npm react router 6.0.0-alpha.2 
Javascript :: how do you make your script work on one window 
Javascript :: how to add make touchstart passive in jquery "3.4.0" 
Javascript :: strip js for subscription 
Javascript :: using slice and reduce together in javascript 
Javascript :: pm2 group console messages 
Javascript :: javascript and python graphs for data analysis 
Javascript :: flutter app accessible when phone is locked 
Javascript :: cargar datos de un id con inner join vue js 
Javascript :: node js firebird example 
Javascript :: MIME type Error CSS in nodejs Express 
Javascript :: internacionalizacion ionic 
Javascript :: Play css animation with JS onhover 
Javascript :: textfield label language react 
Javascript :: press enter reaction js 
Javascript :: get and storing json array android 
Javascript :: signalwire instaall in node 
Javascript :: bjsmasth delete 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =