What's the rule of Vuetify to name elements? #17827
-
I just read some articles about BEM. And cause I was using Vuetify at the beginning of my career so I am also naming elements like Vuetify does. So what's the rule of Vuetify to name elements, and what's the difference between BEM? They are related and similar, but I can't tell the differences.
The upper codes are from Vuetify's official homepage, and I can find Vuetify seems to use |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
in BEM in |
Beta Was this translation helpful? Give feedback.
in BEM in
A--B__C
,A
is the block,B
is element,C
is the modifier-
means nothing, it's just a partv-chip
name (block part)