First steps apollo getUsers query.

This commit is contained in:
ogerly 2021-11-23 12:25:54 +01:00
parent 05c9449e0e
commit 435489223f

View File

@ -68,6 +68,22 @@ export default {
} }
}, },
methods: {}, methods: {
getUsers() {
this.$apollo
.query({
query: gql`{ query{getUsers(searchText) {} } }`,
variables: {
searchText: this.criteria,
},
})
.then((result) => {
})
.catch((error) => {
})
},
},
} }
</script> </script>