[v4] Cannot apply unknown utility class #13336
-
I have a seperate utilities.css file containing @import from other subfolders ('form/buttons.css', 'form/inputs.css', etc). I keep getting this error:
app.css
utilities.css
components.css
Components usualy use my custom utility classes for example flex-start The CSS folder structure:
What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Bump! Anyone got any ideas what's causing the error? |
Beta Was this translation helpful? Give feedback.
-
Sounds like you're trying to do |
Beta Was this translation helpful? Give feedback.
Sounds like you're trying to do
@apply flex-center
somewhere — v4 doesn't currently support applying custom classes, only classes that are built in to the framework, so this just won't work quite yet. Will be in there eventually though before the real v4 release 👍