Closed

Description
I've isolated an edge case when using css modules and scss generate a Comment
where a HTMLDivElement
is expected.
spec.js
const Constructor = Vue.extend(myComponent); const vm = new Constructor().$mount();
myComponent
This doesn't work
<template lang="pug">
div( :class="$style.box" ) hello
</template>
<style module lang="scss">
.box {
color: red;
}
</style>
This works
<template lang="pug">
div( :class="$style.box" ) hello
</template>
<style module>
.box {
color: red;
}
</style>