npm run build --analyze
.spa
only when you do not need server-side rendering. By default, we use universal
mode.--spa
flag via command line: npm run build --spa
.npm run generate
to create static files. Then just deploy them.docker
deployment. But sometimes you really need the whole power of nuxt
and its server-side rendering. Or maybe you already have a micro-services architecture.docker
deployment. It may be wise to add pm2
within docker
, using process.yml
.docker
production pipeline configured out of the box, but it was too confusing for other people. So, we removed it.