Skip to content

Commit

Permalink
πŸ“ Fix code in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jan 27, 2018
1 parent f8dfe7b commit 35f1655
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Vue.component('Promised', Promised)
```

`promise` should be a promise. `data` will contain the result of the promise
```vue
```html
<Promised :promise="promise">
<!-- Use the default slot for loading content
Make sure to have ONLY 1 NODE
Expand All @@ -30,7 +30,7 @@ Vue.component('Promised', Promised)

Pass an array of Promises with `promises`

```vue
```html
<Promised :promises="promises">
<h2>Wating for first result</h2>
<h2 slot-scope="data">
Expand Down

0 comments on commit 35f1655

Please sign in to comment.