-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix($theme-default): Fix slots syntax #1964
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,11 +21,11 @@ | |
> | ||
<slot | ||
name="sidebar-top" | ||
#top | ||
slot="top" | ||
/> | ||
Comment on lines
22
to
25
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The new
|
||
<slot | ||
name="sidebar-bottom" | ||
#bottom | ||
slot="bottom" | ||
/> | ||
</Sidebar> | ||
|
||
|
@@ -37,11 +37,11 @@ | |
> | ||
<slot | ||
name="page-top" | ||
#top | ||
slot="top" | ||
/> | ||
<slot | ||
name="page-bottom" | ||
#bottom | ||
slot="bottom" | ||
/> | ||
</Page> | ||
</div> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<template> | ||
<ParentLayout> | ||
<CarbonAds #sidebar-top/> | ||
<BuySellAds #page-bottom/> | ||
<CarbonAds slot="sidebar-top"/> | ||
<BuySellAds slot="page-bottom"/> | ||
Comment on lines
-3
to
+4
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can only use the new
|
||
</ParentLayout> | ||
</template> | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is still working fine since this is a
<template>