We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0012d commit dea201fCopy full SHA for dea201f
src/utils/files.ts
@@ -42,15 +42,16 @@ export function generateVueFileBasicTemplate(type: string) {
42
fileTemplate = templateTag(type, templateLang);
43
fileTemplate += eol;
44
fileTemplate += scriptTag;
45
- fileTemplate += eol;
46
} else {
47
fileTemplate = scriptTag;
48
49
fileTemplate += templateTag(type, templateLang);
50
51
}
52
53
- if (addStyleTag) { fileTemplate += generateStyleTag(styleLang, isScoped); }
+ if (addStyleTag) {
+ fileTemplate += eol;
+ fileTemplate += generateStyleTag(styleLang, isScoped);
54
+ }
55
56
// eolConfiguration !== '\n' ? normalizeLFToCRLF(fileTemplate) :
57
return fileTemplate
0 commit comments