File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ can be simplified to:
48
48
49
49
``` html
50
50
<my-component >
51
- <template scope =" { id, text }" >
51
+ <template slot- scope =" { id, text }" >
52
52
<span >{{ id }} {{ text }}</span >
53
53
</template >
54
54
</my-component >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default {
47
47
48
48
``` html
49
49
<my-component >
50
- <template scope =" { id, text }" >
50
+ <template slot- scope =" { id, text }" >
51
51
<span >{{ id }} {{ text }}</span >
52
52
</template >
53
53
</my-component >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default {
48
48
49
49
``` html
50
50
<my-component >
51
- <template scope =" { id, text }" >
51
+ <template slot- scope =" { id, text }" >
52
52
<span >{{ id }} {{ text }}</span >
53
53
</template >
54
54
</my-component >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ Pode ser simplificado para:
48
48
49
49
``` html
50
50
<my-component >
51
- <template scope =" { id, text }" >
51
+ <template slot- scope =" { id, text }" >
52
52
<span >{{ id }} {{ text }}</span >
53
53
</template >
54
54
</my-component >
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export default {
48
48
49
49
``` html
50
50
<my-component >
51
- <template scope =" { id, text }" >
51
+ <template slot- scope =" { id, text }" >
52
52
<span >{{ id }} {{ text }}</span >
53
53
</template >
54
54
</my-component >
You can’t perform that action at this time.
0 commit comments