Official vue-apollo example not working
[issue link]Steps to reproduce:
- Download current nuxt.js dev version
- cd into
examples/vue-apollo - run
npm install - run
npm run dev - open http://localhost:3000/ in browser
Expected:
Working example
Actual:
Error: Network error: fetch is not defined
at new ApolloError (/Users/benjixx/Downloads/nuxt.js-dev/examples/vue-apollo/node_modules/apollo-client/src/errors/ApolloError.js:34:28)
at /Users/benjixx/Downloads/nuxt.js-dev/examples/vue-apollo/node_modules/apollo-client/src/core/QueryManager.js:325:41
at /Users/benjixx/Downloads/nuxt.js-dev/examples/vue-apollo/node_modules/apollo-client/src/core/QueryManager.js:818:25
at Array.forEach (native)
at /Users/benjixx/Downloads/nuxt.js-dev/examples/vue-apollo/node_modules/apollo-client/src/core/QueryManager.js:815:27
at Array.forEach (native)
at QueryManager.broadcastQueries (/Users/benjixx/Downloads/nuxt.js-dev/examples/vue-apollo/node_modules/apollo-client/src/core/QueryManager.js:812:42)
at /Users/benjixx/Downloads/nuxt.js-dev/examples/vue-apollo/node_modules/apollo-client/src/core/QueryManager.js:281:31
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)