Description
Right now I'm very satisfied with using CSS modules in single file components, but the intellisense doesn't seem to extend to imported modules:
<template>
<div :class="$style['my-class']"></div>
</template>
<style module>
/* imagine this contains .my-class */
@import url("./styles/animation.css");
.some-class {
...
}
</style>
It works correctly and the language tools don't scream because $style
is Record<string, string> & { 'some-class': string }
, but it would be nice if the $style
type takes static imports into consideration.
Metadata
Metadata
Assignees
Labels
No labels