Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

tailwind vite

npm install -D tailwindcss@latest postcss@latest autoprefixer@latest

npx tailwindcss init -p

# add ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'] to purge in tailwind.config.js

echo -e "@tailwind base; 
@tailwind components; 
@tailwind utilities;" >> src/index.css

# add index.css file in src/main.js
# import './index.css'
Comment

tailwind vite

npm i -D tailwindcss@latest postcss@latest autoprefixer@latest

npx tailwindcss init -p

# inside tailwind.config.js 
mode: "jit", 
purge: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}']

# creates src/index.css and then import it into src/main.js
echo -e "@tailwind base; 
@tailwind components; 
@tailwind utilities;" >> src/index.css

# src/main.js
import './index.css'
Comment

tailwind vite

module.exports = {
  content: [
    "./index.html",
    "./src/**/*.{vue,js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}
Comment

PREVIOUS NEXT
Code Example
Shell :: shell script mac 
Shell :: bash colour codes 
Shell :: revert last merge git 
Shell :: ssh to k8s pod 
Shell :: too many security failures vnc 
Shell :: adb screenrecord 
Shell :: github download specific folder 
Shell :: git how to update branch from master 
Shell :: enable docker api 
Shell :: open podfile in xcode from terminal 
Shell :: pip install pytorch windows 
Shell :: shell script to reindex elasticsearch 
Shell :: pipe command in linux 
Shell :: scrcpy use on linux 
Shell :: how to add a gif to a readme 
Shell :: docker redis 
Shell :: split and get last 
Shell :: how to revert to last git commit 
Shell :: xampp apache not starting 
Shell :: all git commands 
Shell :: brew command not found 
Shell :: cmd substring replace 
Shell :: generate certificate ssl 
Shell :: how to create a shortcut to a folder on linux 
Shell :: portainer install 
Shell :: install glfw3 
Shell :: git showing ignored file modified 
Shell :: command for discard change in git 
Shell :: react hook install 
Shell :: check if a command exists 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =