Skip to content

Commit fa4d25e

Browse files
committed
docs: fix deprecated scoped slot syntax
1 parent 6999893 commit fa4d25e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/en/features/es2015.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ can be simplified to:
4848

4949
``` html
5050
<my-component>
51-
<template scope="{ id, text }">
51+
<template slot-scope="{ id, text }">
5252
<span>{{ id }} {{ text }}</span>
5353
</template>
5454
</my-component>

docs/ja/features/es2015.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747

4848
``` html
4949
<my-component>
50-
<template scope="{ id, text }">
50+
<template slot-scope="{ id, text }">
5151
<span>{{ id }} {{ text }}</span>
5252
</template>
5353
</my-component>

docs/kr/features/es2015.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default {
4848

4949
``` html
5050
<my-component>
51-
<template scope="{ id, text }">
51+
<template slot-scope="{ id, text }">
5252
<span>{{ id }} {{ text }}</span>
5353
</template>
5454
</my-component>

docs/pt_BR/features/es2015.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Pode ser simplificado para:
4848

4949
```html
5050
<my-component>
51-
<template scope="{ id, text }">
51+
<template slot-scope="{ id, text }">
5252
<span>{{ id }} {{ text }}</span>
5353
</template>
5454
</my-component>

docs/ru/features/es2015.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default {
4848

4949
``` html
5050
<my-component>
51-
<template scope="{ id, text }">
51+
<template slot-scope="{ id, text }">
5252
<span>{{ id }} {{ text }}</span>
5353
</template>
5454
</my-component>

0 commit comments

Comments
 (0)