How To Use TailwindCss 3.0 with React.JS | Tailwind 3.0 | React | Yarn | May We Code

preview_player
Показать описание

like and subscribe
if you have any queries or this video really helped you then please comment.

Commands:
1. Create react app

2. Add devDependencies to project
- yarn add -D tailwindcss postcss autoprefixer

- npx tailwindcss init -p

4. Clear the project -
- delete unnecessary files
content: [
"./src/**/*.{js,jsx}",
],

@tailwind base;
@tailwind components;
@tailwind utilities;

7. run the project
- yarn start

Credits :
Song: Sam Ourt & FERGO - Love Me [NCS Release]
Music provided by NoCopyrightSounds
Рекомендации по теме
Комментарии
Автор

Thank you so much for explaining the Tailwind CSS insert of React JS in such a simple and beautiful way. Tailwind CSS combined with React JS it was great.

Webtricker
Автор

I didn't know I had to import the css into the index.js ty

luisedwards
Автор

Easy of installation and everything works :)

abdullahalmamun
Автор

I was initially using sass. I can't get tailwind to work after installing it with postCss

itakpeemmanuel
Автор

why when i save it browser dont reload any idea?

hoshiyomineedmoresuitamin