Skip to content

Commit 25e5a05

Browse files
Remove unnecessary line breaks
1 parent 9eb594e commit 25e5a05

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/guide/migration/slots-unification.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ render関数を使用する場合、つまり、`h` は、2.x ではコンテン
2222

2323
```js
2424
// 2.x 構文
25-
2625
h(LayoutComponent, [
2726
h('div', { slot: 'header' }, this.header),
2827
h('div', { slot: 'content' }, this.content)
@@ -33,7 +32,6 @@ h(LayoutComponent, [
3332

3433
```js
3534
// 2.x 構文
36-
3735
this.$scopedSlots.header
3836
```
3937

@@ -43,7 +41,6 @@ this.$scopedSlots.header
4341

4442
```js
4543
// 3.x 構文
46-
4744
h(LayoutComponent, {}, {
4845
header: () => h('div', this.header),
4946
content: () => h('div', this.content)
@@ -54,11 +51,9 @@ h(LayoutComponent, {}, {
5451

5552
```js
5653
// 2.x 構文
57-
5854
this.$scopedSlots.header
5955

6056
// 3.x 構文
61-
6257
this.$slots.header()
6358
```
6459

0 commit comments

Comments
 (0)