Skip to content

n9ti/koa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 

Repository files navigation

Nuxt.js with Koa

KoaJS + Nuxt.js = ⚡

Installation

This is a project template for vue-cli.

vue init nuxt/koa <project-name>
cd <project-name> # move to your project
npm install # or yarn install*[see note below]

Make sure to use a version of vue-cli >= 2.1 (vue -V).

*Note: Due to a bug in yarn's engine version detection code if you are using a prerelease version of Node (i.e. v7.6.0-rc.1) you will need to either:

  1. Use npm install
  2. Run yarn with a standard release of Node and then switch back

Commands

Command Description
npm run dev Start KoaJS server in development with Nuxt.js in dev mode (hot reloading). Listen on http://localhost:3000.
npm run build Build the nuxt.js web application for production.
npm start Start KoaJS server in production.

Documentation

Licenses

Credits

  • @detrohutt for making the option of choosing between Koa 1.x and 2.x (PR #2)

About

Starter template for Nuxt.js with KoaJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 49.8%
  • Vue 42.5%
  • CSS 7.7%