Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

tailwind in react

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
//tailwind.config.js
content: [
    "./src/**/*.{js,jsx,ts,tsx}",
  ],
//index.css
@tailwind base;
@tailwind components;
@tailwind utilities;
//import css file in index.js
//restart the server
Comment

PREVIOUS NEXT
Code Example
Javascript :: cross-origin request blocked the same origin policy disallows reading the remote resource fix in node js node js 
Javascript :: javascript word count 
Javascript :: js Convert the characters to the html 
Javascript :: react native width auto 
Javascript :: remove element from array in an immutable way 
Javascript :: useState settoggle 
Javascript :: adding event listener keypress event in javascript 
Javascript :: moment date is in range 
Javascript :: javascript object array iteration 
Javascript :: ascending val in array using js 
Javascript :: Get day first 3 letters name js 
Javascript :: sleep function js 
Javascript :: Matched leaf route at location "/" does not have an element. This means it will render an <Outlet / with a null value by default resulting in an "empty" page. 
Javascript :: multi-line javascript 
Javascript :: jqurey cdn 
Javascript :: javascript padend 
Javascript :: scroll into view 
Javascript :: JAVASCRIPT ARRRAY LOOP BACKWARDS 
Javascript :: javascript how to set cursor for whole page 
Javascript :: angular call function on option select 
Javascript :: how to delete node_modules file 
Javascript :: get element or class 
Javascript :: react native different styles for ios and android 
Javascript :: react native linking email 
Javascript :: javascript remove all event listeners 
Javascript :: javascript reload page 
Javascript :: redux logger 
Javascript :: splidejs example 
Javascript :: ajax get form data 
Javascript :: js code stars 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =