Skip to content

Commit b766594

Browse files
authored
Update Readme
Reflecting the changes that RxJS does not need to be imported separately anymore. When using the example as a template, it currently throws an app breaking error.
1 parent a09aac0 commit b766594

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,14 @@ import io from 'socket.io-client'
3939
import feathersVuex from 'feathers-vuex'
4040
import store from '@/store/'
4141
import rx from 'feathers-reactive'
42-
import RxJS from 'rxjs'
4342

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

4645
const feathersClient = feathers()
4746
.configure(hooks())
4847
.configure(socketio(socket))
4948
.configure(auth({ storage: window.localStorage }))
50-
.configure(rx(RxJS, {idField: '_id'}))
49+
.configure(rx({idField: '_id'}))
5150
// Register feathers-vuex by passing the store and options
5251
.configure(feathersVuex(store, {
5352
idField: '_id',

0 commit comments

Comments
 (0)