Skip to content

[9.x] Short attribute syntax for Self Closing Blade Components#44413

Merged
taylorotwell merged 2 commits into
laravel:9.xfrom
PerryvanderMeer:9.x
Oct 3, 2022
Merged

[9.x] Short attribute syntax for Self Closing Blade Components#44413
taylorotwell merged 2 commits into
laravel:9.xfrom
PerryvanderMeer:9.x

Conversation

@PerryvanderMeer
Copy link
Copy Markdown
Contributor

@PerryvanderMeer PerryvanderMeer commented Oct 1, 2022

This PR follows #44217 and implements the short attribute syntax for self-closing blade components.

<!-- current short syntax -->
<x-profile :$userId></x-profile>

<!-- short syntax for self-closing component -->
<x-profile :$userId/>

@PerryvanderMeer PerryvanderMeer changed the title Short attribute syntax for Self Closing Blade Components [9.x] Short attribute syntax for Self Closing Blade Components Oct 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants