DEV Community

Discussion on: 5 tips for styling the component layer

Collapse
 
keco39 profile image
Kevin Cocquyt

Hi. I was wondering if step 5 is some sort of an industry standard or if this is 100% opinionated. It's because I started to use Vue components in my MVC apps and when I was thinking about good classnames for components, I came up with the same solution (c-* prefix). If it's more standard, it'll make life easier for me to convince my team to start using it too.

Collapse
 
hybrid_alex profile image
Alex Carpenter

Hey Kevin, great question. Not sure if it is an industry standard but just something I picked up that have seen great value in.

Collapse
 
keco39 profile image
Kevin Cocquyt

Ok. Good to know either way. I'll send them to this post if I get any difficult questions or hesitation about it :)