Skip to content

Commit 8c71d3e

Browse files
cexbrayatchrislone
authored and
chrislone
committed
chore(compiler-core): missing space in v-slot mixed usage error message (vuejs#7076)
1 parent e41ad97 commit 8c71d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compiler-core/src/errors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const errorMessages: Record<ErrorCodes, string> = {
158158
[ErrorCodes.X_V_ON_NO_EXPRESSION]: `v-on is missing expression.`,
159159
[ErrorCodes.X_V_SLOT_UNEXPECTED_DIRECTIVE_ON_SLOT_OUTLET]: `Unexpected custom directive on <slot> outlet.`,
160160
[ErrorCodes.X_V_SLOT_MIXED_SLOT_USAGE]:
161-
`Mixed v-slot usage on both the component and nested <template>.` +
161+
`Mixed v-slot usage on both the component and nested <template>. ` +
162162
`When there are multiple named slots, all slots should use <template> ` +
163163
`syntax to avoid scope ambiguity.`,
164164
[ErrorCodes.X_V_SLOT_DUPLICATE_SLOT_NAMES]: `Duplicate slot names found. `,

0 commit comments

Comments
 (0)