davidroyer / nuxt-api-example

Nuxt.js API Example using Vuex and axios
https://nuxt-api-example.netlify.com/
123 stars 25 forks source link
nuxt vue vuex

Nuxt API Example

An example of using Vuex, axios, and a REST API with Nuxt

A couple things that are setup for this example that could be of interest to someone...

Other project info

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.