Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

add tailwind to next

# If you're on Next.js v10 or newer
npm install -D tailwindcss@latest postcss@latest autoprefixer@latest

# If you're on Next.js v9 or older
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
Source by tailwindcss.com #
 
PREVIOUS NEXT
Tagged: #add #tailwind
ADD COMMENT
Topic
Name
6+2 =