.t-avatar{
@apply w-12 rounded-full shadow hover: shadow;
}
如果这样写会报错:
`(5:5) `@apply` cannot be used with `.hover\:` because `.hover\:` either cannot be found, or its actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that `.hover\:` exists, make sure that any `@import` statements are being properly
processed *before* Tailwind CSS sees your CSS, as `@apply` can only be used for classes in the same CSS tree.
3 | }
4 | .t-avatar{
> 5 | @apply w-12 rounded-full shadow hover: shadow;
| ^
6 | }