react-boilerplate-cra-template icon indicating copy to clipboard operation
react-boilerplate-cra-template copied to clipboard

about Emotion css-in-js

Open Alvazz opened this issue 2 years ago • 5 comments

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!

Alvazz avatar Nov 06 '22 09:11 Alvazz

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.

qeleb avatar Nov 09 '22 23:11 qeleb

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

Alvazz avatar Nov 17 '22 23:11 Alvazz

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

Alvazz avatar Nov 17 '22 23:11 Alvazz

but not fixed it. need help!

Alvazz avatar Nov 18 '22 00:11 Alvazz

image

Alvazz avatar Nov 18 '22 00:11 Alvazz