The Delightful World of Vue
Modular CSS
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 2 / 2

Imagine we have a component with the following modular css:

<style module>
.component {
    background-color: red;
}
</style>

What do we need to do in the template to grab this style class from inside our component template?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.