Skip to content

Commit bb60663

Browse files
committed
Small doc change
1 parent 98a679a commit bb60663

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/guide/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,15 @@ After [installing](/guide/setup) this plugin you can load data in your component
4646
4747
4848
<script>
49+
import User from 'data/models/user';
50+
4951
export default {
5052
computed: {
51-
users: () => store.getters['entities/users/all']()
53+
users: () => User.getters['all']()
5254
},
5355
5456
created() {
55-
this.$store.dispatch('entities/users/fetch');
57+
User.dispatch('fetch');
5658
}
5759
}
5860
</script>

0 commit comments

Comments
 (0)