Web Application
The Symfony Boilerplate uses graphql-request client.
It is available in a Vue component thanks to this.$graphql
.
Queries and mutations are JavaScript files. For instance:
src/webapp/graphql/auth/me.query.js
note
📣  A fragment is useful is you want to fetch the same data in many queries and mutations.