Skip to content

lautiamkok/nuxt-plumber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Nuxt + Plumber

A basic sample Nuxt application with Plumber.

Plumber handles the backend as an API. Nuxt handles the view and calls the API, e.g http://127.0.0.1:3000/ (from Nuxt) will call http://127.0.0.1:8000/api (from Plumber).

Read the post here about this repository.

Quick start

Build Setup (Plumber/ API)

# Production build
$ ./index.R

Access it at http://localhost:8000/

Build Setup (Nuxt)

# Dependencies
$ npm install

# Development
$ npm run dev

# Production build
$ npm start

Access it at http://localhost:3000/

Notes

  1. You must run these two apps concurrently.

References