Static GitHub Issues

[2472] SPA Confusion. Difference between build --spa and generate?

prev: How can I use fontmin with Nuxt?
next: [Firebase Storage] Firebase.storage is not a function.

Okay, so I want to generate a SPA. No SSR.

Do I build --spa and then generate?

Or is it enough to build --spa and then deploy the dist directory?

What's the difference between build --spa and generate?

(I want to deploy the SPA on something like Netlify or Zeit's Now.)

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c2145">#c2145</a>)</em></sub></div>