react-boilerplate / react-boilerplate-cra-template

:fire: Setup Create React App with React Boilerplate. Highly scalable & Best DX & Performance Focused & Best practices.
https://react-boilerplate.github.io/react-boilerplate-cra-template/
MIT License
1.87k stars 392 forks source link

about Emotion css-in-js #211

Open Alvazz opened 1 year ago

Alvazz commented 1 year ago

Is it possible to roll out a version based on emotion css, I'm using emotion instead of styled-compoent, or can you guide me, how should I replace?

Good boilerplate!

qeleb commented 1 year ago

Hi! I'm glad you like it!

Yes you can! You can use the Emotion Babel macro to integrate it into the boilerplate. You'll want to replace styled-components in the babel-macro configuration and remove it where it's used.

Alvazz commented 1 year ago

thanks! if I want use tailwindcss, what should I do. I love this boilerplate and I want to use it for more occasions

Alvazz commented 1 year ago

OK, I found this https://github.com/react-boilerplate/react-boilerplate-cra-template/issues/175

Alvazz commented 1 year ago

but not fixed it. need help!

Alvazz commented 1 year ago
image