import feathersVuex from 'feathers-vuex' import feathersClient from './feathers-client' const { service, auth, FeathersVuex } = feathersVuex(feathersClient, { idField: '_id' }) Vue.use(Vuex) Vue.use(FeathersVuex)
export default new Vuex.Store({ plugins:[ service('users',{ instanceDefaults:{ username : '' , email : '', password : '', } }), auth({ userService: 'users', }), ], })