Skip to content

PeterHewat/real-world-nuxt

Repository files navigation

real-world-nuxt

My superb Nuxt.js project

Build Setup

# install dependencies
$ npm install

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

# serve with hot reload using a specific port
$ PORT=3001 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 Nuxt.js docs.

Setting Up a Mock API

# install json-server
$ npm install -g json-server

# Run the API server
$ json-server --watch db.json

# Run the API server wth 2 seconds delay
$ json-server --watch db.json --delay 2000

Extras

Add "Material Icon Theme" extension for good looking icons in VS Code

About

Nuxt.js tutorial from Vue Mastery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages