Skip to content

Commit 2f7cc68

Browse files
pull[bot]NataliaTepluhinayulerAlex-Sokolovinquisitivecrystal
authored
[pull] indonesian from master (#43)
* fix: fixed custom directives migration guide * Update the GitHub repo link to `vue-next` (vuejs#672) * Update introduction.md (vuejs#673) * Improve formatting of teleport.md (vuejs#674) This switches a link to using VideoLesson, which should make it look a lot better. It also fixes a small punctuation typo. * Fix a typo (vuejs#675) * Add inject example to reactive section of docs (vuejs#677) This example might come in handy for users that are yet to read on `Computed and Watch` in the documentation so they know that the properties they're making reactive using `computed` is available under `property.value` and not `property`. * Fix: typo in global-api-treeshaking (vuejs#678) * fix: increase header depth and tweak wording in transitions-overview.md (vuejs#679) * fix: add two migration pages to the sidebar index (vuejs#680) * fix: correct two examples of using h with components and slots (vuejs#681) * docs: update component-slots.md (vuejs#685) * docs: update component-slots.md * doc: update component-slots.md Co-authored-by: NataliaTepluhina <tarya.se@gmail.com> Co-authored-by: YuLe <joyful4yu@gmail.com> Co-authored-by: Alexander Sokolov <modex13@gmail.com> Co-authored-by: Aris Merchant <wizkarim@gmail.com> Co-authored-by: Kid <44045911+kidonng@users.noreply.github.com> Co-authored-by: Timi Omoyeni <omoyenitimi@gmail.com> Co-authored-by: Kushal Niroula <niroulaKushal31@gmail.com> Co-authored-by: skirtle <65301168+skirtles-code@users.noreply.github.com> Co-authored-by: Zihao Yang <beiding110@gmail.com>
1 parent 1dbd71a commit 2f7cc68

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/guide/component-slots.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,9 @@ Note that the abbreviated syntax for default slot **cannot** be mixed with named
308308
```html
309309
<!-- INVALID, will result in warning -->
310310
<todo-list v-slot="slotProps">
311-
<todo-list v-slot:default="slotProps">
312-
<i class="fas fa-check"></i>
313-
<span class="green">{{ slotProps.item }}</span>
314-
</todo-list>
311+
<i class="fas fa-check"></i>
312+
<span class="green">{{ slotProps.item }}</span>
313+
315314
<template v-slot:other="otherSlotProps">
316315
slotProps is NOT available here
317316
</template>

0 commit comments

Comments
 (0)