Use Apollo in your Vue.js app


Vue-apollo is an Apollo/GraphQL integration for Vue.js that allows you to write GraphQL queries in your Vue.js components while using Apollo.

Follow this tutorial which dives straight into how to create an Apollo client and install the vue-apollo plugin into Vue. Then see how you can fetch data with GraphQL, and update your data with GraphQL mutations.

Declaratively attach GraphQL queries to your components

Read the documentantion and a simple example Vue.js/Apollo app.