I have a basic app (nuxt version 2.12.2) that I made by running npx create-nuxt-app, and setting mode to "SPA". When I use npm run build or npm run generate, it creates an HTML file for each page, but it does not pre-render any of the actual HTML in the page. It only has the JavaScript that loads the single-page application. I want each page to have pre-rendered HTML for SEO reasons. What is the best way to do that?
I'm really surprised I haven't found anything in the Nuxt.js documentation that addresses this.