Skip to content

Commit b4675bc

Browse files
committed
Add support attribute module
To be able to use css-module
1 parent 4b8eb75 commit b4675bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/sfc/parser.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ export function parseComponent (
6161
if (attr.name === 'scoped') {
6262
block.scoped = true
6363
}
64+
if (attr.name === 'module') {
65+
block.module = attr.value || true
66+
}
6467
if (attr.name === 'src') {
6568
block.src = attr.value
6669
}

0 commit comments

Comments
 (0)