nuxt-start
Start Nuxt.js Application in production mode.
Installation
npm install --save nuxt-start
Add/Update your "start" script into your package.json
:
Usage
nuxt-start <dir> -p <port number> -H <hostname> -c <config file>
Programmatic Usage
const Nuxt = // Require nuxt configconst config = // Create a new nuxt instanceconst nuxt = config // Start nuxt.js servernuxt // nuxt.listen(port, host) // Or use `nuxt.render` as an express middleware