Skip to content

Commit

Permalink
revert: "fix: trim modifiers for slot name"
Browse files Browse the repository at this point in the history
This reverts commit 86d427b.
#2710 (comment)
  • Loading branch information
johnsoncodehk committed Apr 26, 2023
1 parent efa9b71 commit e593e93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-language-core/src/generators/template.ts
Expand Up @@ -717,7 +717,7 @@ export function generate(
...(
(slotDir?.arg?.type === CompilerDOM.NodeTypes.SIMPLE_EXPRESSION && slotDir.arg.content)
? createPropertyAccessCode([
slotDir.arg.loc.source.split('.')[0], // remove modifiers
slotDir.arg.loc.source,
'template',
slotDir.arg.loc.start.offset,
slotDir.arg.isStatic ? capabilitiesPresets.slotName : capabilitiesPresets.all
Expand Down

0 comments on commit e593e93

Please sign in to comment.