Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

add tailwind in vue using yarn

yarn add --dev tailwindcss@latest postcss@latest autoprefixer@latest
Comment

add tailwind to vue

vue create appname

cd appname

vue add tailwind --select your preferred settings

npm run serve

DONE!!!
Comment

tailwind vue

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

add tailwind to vue

vue creat mytailwind

cd mytailwind

vue add tailwind
Comment

PREVIOUS NEXT
Code Example
Javascript :: string uppercase 
Javascript :: join method javascript 
Javascript :: como diminuir quantidade de casas decimais javascript 
Javascript :: .net mvc javascript function call link 
Javascript :: react router get data from url 
Javascript :: How To Open Phone Dialer and Make Call From React Native App 
Javascript :: change navigation animation react native 
Javascript :: js array add every element of array 
Javascript :: html get class property 
Javascript :: how to increment counter button click in javascript 
Javascript :: tolocalestring javascript currency fixing 2 decimal places 
Javascript :: upload preview image jquery 
Javascript :: react slick 
Javascript :: add table row jquery 
Javascript :: dom element set id 
Javascript :: how to disable a button in react based on condition 
Javascript :: cookie clicker hack extension 
Javascript :: span change jquery 
Javascript :: convert currency to string javascript 
Javascript :: yarn incompatible module node 
Javascript :: vue js cdn 
Javascript :: double click in js 
Javascript :: ajax select2 
Javascript :: disabling submit button until all fields have values 
Javascript :: copy text on click 
Javascript :: how make date object in jquery from custom date 
Javascript :: how to handle fetch errors 
Javascript :: checkbox default value and checked value get in jquery 
Javascript :: array every javascript 
Javascript :: No provider for ReducerManager 
ADD CONTENT
Topic
Content
Source link
Name
3+6 =