Greetings y’all. Anybody here working with vue and...
# orm-help
n
Greetings y’all. Anybody here working with vue and graphcool? In the graphcool quickstart (vue-graphql.git) example, the Apollo query is under `export default`:
Copy code
apollo: {
      allPosts: {
        query: FeedQuery,
        loadingKey: 'loading',
      },
    }
But in the latest Vue Apollo integration you can use it right in the template:
Copy code
<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?