Nils
08/03/2018, 9:40 AMapollo: {
allPosts: {
query: FeedQuery,
loadingKey: 'loading',
},
}
But in the latest Vue Apollo integration you can use it right in the template:
<ApolloQuery
:query="require('../graphql/HelloWorld.gql')"
:variables="{ name }"
>
<template slot-scope="{ result: { loading, error, data } }">
I’m looking for more up to date information on how to interface to the graphcool functions (i.e. server/src/authenticate.js
) from the templates in this way. Can’t find anything. Any articles out there?