Skip to content

baisheng/nuxt-thinkjs3

Repository files navigation

Nuxt.js with ThinkJS

ThinkJS + Nuxt.js = ⚡

Installation

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 start Start ThinkJs server in development.

Deploy with pm2

Use pm2 to deploy app on production enviroment.

pm2 startOrReload pm2.json

Documentation

Licenses

Tips