Skip to content

Instantly share code, notes, and snippets.

@wataruoguchi
Created September 26, 2018 05:46
Show Gist options
  • Save wataruoguchi/e44f2080c845220c6c42dd98ea2644ca to your computer and use it in GitHub Desktop.
Save wataruoguchi/e44f2080c845220c6c42dd98ea2644ca to your computer and use it in GitHub Desktop.
$ # make sure you're in src directory
$ # In the video, he's using isomorphic-fetch
$ # However, Nuxt.js strongly recommends using axios, so here we go
$ yarn add axios
$ # Clear index.vue and edit the file
$ echo '' > pages/index.vue && vi pages/index.vue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment