]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore(compiler-core): missing space in v-slot mixed usage error message (#7076)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Mon, 14 Nov 2022 07:06:24 +0000 (08:06 +0100)
committerGitHub <noreply@github.com>
Mon, 14 Nov 2022 07:06:24 +0000 (02:06 -0500)
packages/compiler-core/src/errors.ts

index 345aa183fc914e912d25dbd11edc467319be282f..db7d0eb393d87b0a5363460744c5cfd5caf87d6e 100644 (file)
@@ -158,7 +158,7 @@ export const errorMessages: Record<ErrorCodes, string> = {
   [ErrorCodes.X_V_ON_NO_EXPRESSION]: `v-on is missing expression.`,
   [ErrorCodes.X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET]: `Unexpected custom directive on <slot> outlet.`,
   [ErrorCodes.X_V_SLOT_MIXED_SLOT_USAGE]:
-    `Mixed v-slot usage on both the component and nested <template>.` +
+    `Mixed v-slot usage on both the component and nested <template>. ` +
     `When there are multiple named slots, all slots should use <template> ` +
     `syntax to avoid scope ambiguity.`,
   [ErrorCodes.X_V_SLOT_DUPLICATE_SLOT_NAMES]: `Duplicate slot names found. `,