We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
v-pre
1 parent 3f699df commit 4a333ddCopy full SHA for 4a333dd
src/guide/component-slots.md
@@ -247,7 +247,7 @@ app.component('todo-list', {
247
})
248
```
249
250
-We might want to replace the `{{ item }}` with a `<slot>` to customize it on parent component:
+We might want to replace the <span v-pre>`{{ item }}`</span> with a `<slot>` to customize it on parent component:
251
252
```html
253
<todo-list>
@@ -320,7 +320,7 @@ Note that the abbreviated syntax for default slot **cannot** be mixed with named
320
<todo-list v-slot="slotProps">
321
<i class="fas fa-check"></i>
322
<span class="green">{{ slotProps.item }}</span>
323
-
+
324
<template v-slot:other="otherSlotProps">
325
slotProps is NOT available here
326
</template>
0 commit comments