You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there anyway to access Vue's data and props from the Apollo option? In the following example "name" is undefined. $route.params are also inaccessible
exportdefault{// Local statedata: ()=>({Trainer: {pokemons: []},loading: 0,dialogVisible: false,newOpen: false,selected: {},name: 'Alex'}),// Apollo GraphQLapollo: {Trainer: {query: queries.Trainers.get,variables: {name: this.name,page: this.$route.params.page},loadingKey: 'loading',}}
The text was updated successfully, but these errors were encountered:
Is there anyway to access Vue's data and props from the Apollo option? In the following example "name" is undefined. $route.params are also inaccessible
The text was updated successfully, but these errors were encountered: