Btw there are more things i don’t like. For example the @apply at-rule that is provided by a postcss-plugin, based on the old and abandoned @apply spec. I will do some test with vue, chunking and lazy loading components
The @apply spec might have been abandoned but I think @apply is quite useful in Tailwind. I'd like to know what your thoughts are when you are done with the test.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Using a css framework within a component based architecture is a bit anti-pattern, you know
Tailwind allows you create component classes using
@apply
read moreMmm no since you have to import the css globally. It’s incompatible with chunks and lazy loading as i saw. Or not?
Edit: i saw that they provide a full npm package so it can work, but i’m not fully convinced
As far as my knowledge goes it's incompatible with lazy loading.
Btw there are more things i don’t like. For example the
@apply
at-rule that is provided by a postcss-plugin, based on the old and abandoned @apply spec. I will do some test with vue, chunking and lazy loading componentsThe @apply spec might have been abandoned but I think @apply is quite useful in Tailwind. I'd like to know what your thoughts are when you are done with the test.