Skip to content

Commit

Permalink
Added example of sorting primitive values
Browse files Browse the repository at this point in the history
  • Loading branch information
freearhey committed Aug 28, 2019
1 parent f00ffae commit 7e2010f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,15 @@ export default {
</li>
</ul>
```
Sort primitive values:

```html
<ul>
<li v-for="name in orderBy(names, true)">
{{ name }}
</li>
</ul>
```

## Global Configuration

Expand Down

0 comments on commit 7e2010f

Please sign in to comment.