Use Scoped CSS in Vue

InstructorRory Smith

Share this video with your friends

Send Tweet

Let's see how to apply both scoped and global styles to components in our project, and why we need to use the scoped attribute.

~ 4 years ago

Is there a way to let children inherit scoped styles? Let's say I have a component called 'Fields', and wanted each field to be a child component. In 'Fields', I want to define scoped input styles that each field component inherits. Is that possible?