Skip to content

Commit 9a6332d

Browse files
committed
Fix client setup in readme
1 parent 8d13839 commit 9a6332d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ npm install feathers-vuex --save
1717

1818
**feathers-client.js:**
1919
```js
20-
import feathers from 'feathers'
20+
import feathers from 'feathers/client'
2121
import hooks from 'feathers-hooks'
22-
import socketio from 'feathers-socketio'
22+
import socketio from 'feathers-socketio/client'
2323
import auth from 'feathers-authentication-client'
2424
import io from 'socket.io-client'
2525

@@ -172,7 +172,7 @@ Service modules include the following getters:
172172

173173
### Service Mutations
174174
The following mutations are included in each service module.
175-
> **Note:** you would typically not call these directly, but instead with `store.commit('removeItem', 'itemId')`. Using vuex's mapMutations on a Vue component can simplify that to `this.removeItem('itemId')`
175+
> **Note:** you would typically not call these directly, but instead with `store.commit('removeItem', 'itemId')`. Using vuex's mapMutations on a Vue component can simplify that to `this.removeItem('itemId')`
176176
177177
#### `addItem(state, item)`
178178
Adds a single item to the `keyedById` map.

0 commit comments

Comments
 (0)