You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I've upgraded to v. 1.5.0 sorting of properties begin to work in my .vue files style section which is good, but when I use !important inside of @apply rule prettier strip out a space between rule and !important which leads to compile errors. E.g.:
logically tailwind tries to treat it as a utility and throws this error:
`@apply` cannot be used with `.border\!important` because `.border\!impor
tant` either cannot be found, or its actual definition includes a pseudo-selector
like :hover, :active, etc.
Temp workaround for anyone suffering from this issue, you can use prettier ignore comment to disable prettyfication:
After I've upgraded to v. 1.5.0 sorting of properties begin to work in my .vue files style section which is good, but when I use !important inside of @apply rule prettier strip out a space between rule and !important which leads to compile errors. E.g.:
is formatted into:
logically tailwind tries to treat it as a utility and throws this error:
Temp workaround for anyone suffering from this issue, you can use prettier ignore comment to disable prettyfication:
or if you use 'postcss-comment' parser (like I do):
The text was updated successfully, but these errors were encountered: