[Vuejs]-Having issues with CSS Modules `$style` object in Vue Template

0๐Ÿ‘

<script>
export default {
  activeClass() {
    console.log($style['active-class']);
    return this.$style['active-class'] = this.upper;
    // -> "red_1VyoJ-uZ"
    // an identifier generated based on filename and className.
  }
}
</script>

Leave a comment