Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 711 Bytes

File metadata and controls

27 lines (18 loc) · 711 Bytes

crud-example

An example project for building RESTful interfaces with Nuxt.js. Built to support the article Quickly Building RESTful UI's in NuxtJS.

Build Setup

# install dependencies
$ yarn install

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

# start a fake json server using https://github.com/typicode/json-server
$ npm install -g json-server
$ $ node fake-server.js

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

# generate static project
$ yarn run generate

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