3 ms·
You can use a component. I personally design first using only tailwind utility classes. Once I reach a near-ready state I factor out the repeated code into cust
by jorgesborges 8y ago
You can use a component. I personally design first using only tailwind utility classes. Once I reach a near-ready state I factor out the repeated code into custom components that will be easy to change in the future. That way I also don't have to wait for css to compile while I'm still making a lot of changes (I know, like 150ms right?).
.btn {
@apply .bg-grey .rounded-sm;
}