Skip to content

Commit

Permalink
Add optional error message to README
Browse files Browse the repository at this point in the history
  • Loading branch information
robbinjohansson committed May 29, 2018
1 parent 2d3eff1 commit 23341be
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ Display the component using [scoped slots.](https://vuejs.org/v2/guide/component
<div slot="shot" slot-scope="{ shot }">
<img :src="shot.images.hidpi" :alt="shot.title">
</div>
<!-- Optional: Custom error message markup -->
<div slot="error" slot-scope="{ error }">
{{ error }}
</div>
</vuebbble>
</template>
Expand Down

0 comments on commit 23341be

Please sign in to comment.