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>
Source:stackexchange.com