Skip to content

Commit

Permalink
chore(compiler-core): missing space in v-slot mixed usage error messa…
Browse files Browse the repository at this point in the history
…ge (#7076)
  • Loading branch information
cexbrayat authored Nov 14, 2022
1 parent 3783866 commit b46ba6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/compiler-core/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. `,
Expand Down

0 comments on commit b46ba6e

Please sign in to comment.