Skip to content
🚀 Demo sources of my talk at Vue Amsterdam 2018
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md

README.md

vue-amsterdam-2018

Demo sources of my talk at Vue Amsterdam 2018

Slides of the talk: Vue, Apollo and GraphQL: the Ultimate Stack

Step 1

⭐️ Create a new vue-cli 3 project and invoke the apollo plugin:

yarn global add @vue/cli
vue create my-app
cd my-app
yarn add -D vue-cli-plugin-apollo
vue invoke apollo
# ? Add a GraphQL API Server? Yes
yarn run graphql-api
# In another terminal:
yarn run serve

Step 2

📝 Edit the App.vue file to try the ApolloExample.vue component:

import HelloWorld from './components/HelloWorld.vue'

To:

import HelloWorld from './components/ApolloExample.vue'

Step 3

👾 You can play with the GraphQL API at http://localhost:4000/.

👌 Enjoy! 🐈 (Also, read the docs.)

You can’t perform that action at this time.