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 (vuejs#7076)
  • Loading branch information
cexbrayat authored and chrislone committed Feb 4, 2023
1 parent e41ad97 commit 8c71d3e
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 8c71d3e

Please sign in to comment.