Skip to content

prepare is not defined #6

@laurentpayot

Description

@laurentpayot

I'm evaluating the amazing Quasar framework with vue-apollo.

Im using the following setup from the readme file in the app.js startup file (Vue being already imported by Quasar):

import ApolloClient, { createNetworkInterface, addTypename } from 'apollo-client';
import VueApollo from 'vue-apollo';

// Create the apollo client 
const apolloClient = new ApolloClient({
  networkInterface: createNetworkInterface({
    uri: 'http://localhost:8080/graphql',
    transportBatching: true,
  }),
  queryTransformer: addTypename,
});

// Install the vue plugin 
Vue.use(VueApollo, {
  apolloClient,
});

and I get Uncaught ReferenceError: prepare is not defined, pointing here.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions