DEV Community

Discussion on: How to Create Modern Cards using React and Tailwind

Collapse
 
franciscomendes10866 profile image
Francisco Mendes • Edited

Thanks 😊 Did you configure Tailwind?

Collapse
 
ldb profile image
LDB

I just installed tailwind using:
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9

Thread Thread
 
ldb profile image
LDB

screenshots:

imgur.com/a/gQ9EjBd

Thread Thread
 
franciscomendes10866 profile image
Francisco Mendes

From the image you shared, I'm not sure tailwind is properly configured. I say this because the styles are not being applied. If you try to edit something, does it have any effect?

Some comments have been hidden by the post's author - find out more