nuxt-start-edge
Starts Nuxt.js Application in production mode
Last updated a day ago by nuxt.bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nuxt-start-edge 
SYNC missed versions from official npm registry.

nuxt-start

Start Nuxt.js Application in production mode.

Installation

npm install --save nuxt-start

Add/Update your "start" script into your package.json:

{
	"scripts": {
		"start": "nuxt-start"
	}
}

Usage

nuxt-start <dir> -p <port number> -H <hostname> -c <config file>

Programmatic Usage

const { Nuxt } = require('nuxt-start')

// Require nuxt config
const config = require('./nuxt.config.js')

// Create a new nuxt instance (config needs dev: false)
const nuxt = new Nuxt(config)

// Start nuxt.js server
nuxt.listen(3000) // nuxt.listen(port, host)

// Or use `nuxt.render` as an express middleware

Current Tags

  • 2.14.8-26717802.265d0e7a                                ...           latest (a day ago)
  • 3.0.0-26556502.75dd90f2                                ...           next (4 months ago)

1266 Versions

Downloads
Today 4
This Week 149
This Month 4,330
Last Day 145
Last Week 2,045
Last Month 3,163
Dependencies (10)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |