Skip to content

Commit 665496d

Browse files
authored
Latest update as discussed
1 parent b766594 commit 665496d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
npm install feathers-vuex --save
1313
```
1414

15+
## Important
16+
The current version of `feathers-vuex` is not compatible with the latest version of `feathers-reactive` (0.5.x). To keep on using `feathers-vuex` install version 0.4.x.
17+
1518
## Use
1619
Use `feathers-vuex` the same as any other FeathersJS plugin. The only prerequisite is that you have Vuex configured in your Vue app. Suppose you have the following Vuex store:
1720

@@ -39,14 +42,15 @@ import io from 'socket.io-client'
3942
import feathersVuex from 'feathers-vuex'
4043
import store from '@/store/'
4144
import rx from 'feathers-reactive'
45+
import RxJS from 'rxjs'
4246

4347
const socket = io('http://localhost:3030', {transports: ['websocket']})
4448

4549
const feathersClient = feathers()
4650
.configure(hooks())
4751
.configure(socketio(socket))
4852
.configure(auth({ storage: window.localStorage }))
49-
.configure(rx({idField: '_id'}))
53+
.configure(rx(RxJS, {idField: '_id'}))
5054
// Register feathers-vuex by passing the store and options
5155
.configure(feathersVuex(store, {
5256
idField: '_id',

0 commit comments

Comments
 (0)