DEV Community

Play Button Pause Button
Vladimir Novick for Hasura

Posted on

Use ApolloQuery component inside your template

Apollo Client comes with ApolloQuery helper component that gives you an option to move all your data querying inside Vue template. In this lesson we will discuss how we can use it. In addition to that we will also use .gql files, so all of our queries, mutations and subscriptions will reside in one place in filesystem which will make them easier to find

Discussion (0)