Skip to content

Commit 5df459d

Browse files
committed
fix: fix missing compnent wrapper element
1 parent 245ac09 commit 5df459d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ module.exports = function markdownToVueLoader(source, map) {
249249
$body.append($style);
250250
});
251251

252-
$$('template').html(`<div class="${options.componentNamespace}-${normalizedResourceName}">${$('body').html()}</div>`);
252+
$$('template').html(`<div><div class="${options.componentNamespace}-${normalizedResourceName}">${$('body').html()}</div></div>`);
253253

254254
if (options.exportSource || components.length > 0) {
255255
$body.append(`<script>

0 commit comments

Comments
 (0)