Skip to content

Commit 1b0012d

Browse files
committed
fix: bind lang attribute to pug templates
1 parent dec8c29 commit 1b0012d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/templates/vueFiles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const templateTag = (type: string, language: string) => {
66
</div>
77
</template>`
88
} else {
9-
return `<template>
9+
return `<template lang="pug">
1010
div
1111
${type === 'layout' ? 'slot' : ''}
1212
</template>`

0 commit comments

Comments
 (0)