Run nuxt from cli or app.js

Now you can easily run a nuxt project using app.js

Create app.js file and add following content.

require('child_process').fork(`${__dirname}/node_modules/nuxt/bin/nuxt.js`, [
  'start'
])
Kaldi