Skip to content

Commit 90e6cef

Browse files
committed
docs: clarify feathers-client service section
1 parent 994e2c6 commit 90e6cef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/service-plugin.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,12 @@ export default new Vuex.Store({
8484

8585
Once the service plugin has been registered with Vuex, the FeathersClient Service will have a new `service.FeathersVuexModel` property. This provides access to the service's [Model class](./model-classes.md).
8686

87+
```js
88+
import { models } from 'feathers-vuex'
89+
90+
feathersClient.service('todos').FeathersVuexModel === models.api.Todo // true
91+
```
92+
8793
## Service State
8894

8995
Each service comes loaded with the following default state:

0 commit comments

Comments
 (0)