Static GitHub Issues

[2015] Unable to generate static HTML files in SPA mode.

prev: Cannot switch custom layouts dynamically
next: [Help wanted] Enabling https

I'm trying to generate 100% static HTML files for hosting on Netlify. However, when I run nuxt generate --spa, none of my HTML is being prerendered in the body. I'm seeing a bunch of assets in an HTML file per page, but none of my static HTML in the Vue component is being loaded into these files.

When I run nuxt generate with out --spa, my pages are generated correctly, but I don't want to run in SSR mode, since my code is very client-side-specific, and I don't want to worry about checking process.browser for everything.

I also tried running nuxt build --spa, but got the same undesired result. Am I misunderstanding something here? Basically, I just want all my static Vue component content to be generated into HTML when it can be.

<!--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/c1790">#c1790</a>)</em></sub></div>