title: Nuxt: Generate does not create html for every route in static target
body: <p>I wish to generate html files for static deployment.</p>
  <p>The package.json dependencies are as follows</p>
  <pre><code>  &quot;dependencies&quot;: {
      &quot;@nuxt/content&quot;: &quot;^1.15.1&quot;,
      &quot;@nuxtjs/markdownit&quot;: &quot;^2.0.0&quot;,
      &quot;core-js&quot;: &quot;^3.19.3&quot;,
      &quot;nuxt&quot;: &quot;^2.15.8&quot;,
      &quot;vue&quot;: &quot;^2.6.14&quot;,
      &quot;vue-server-renderer&quot;: &quot;^2.6.14&quot;,
      &quot;vue-template-compiler&quot;: &quot;^2.6.14&quot;,
      &quot;webpack&quot;: &quot;^4.46.0&quot;
    },
  </code></pre>
  <p>The content directory is:</p>
  <pre><code>content
    blogs
       blog1
          cover.png  // image used as cover
          content.md // content of blog
       blog2
          cover.png
          content.md
       ...
  </code></pre>
  <p>The pages directory is:</p>
  <pre><code>pages
     blogs
       _slug.vue
     index.vue
  </code></pre>
  <p>The nuxt.config.js is:</p>
  <pre><code>export default {
    target: 'static',
    generate: {
      fallback: '404.html',    
    },
  </code></pre>
  <p>When I run <code>npm run generate</code>, this only creates a <code>index.html</code> in the <code>dist</code> directory. I would like a dist directory structure like:</p>
  <pre><code>dist
    _nuxt (dir)
    blogs
      blog1.html
    index.html
    ...
  </code></pre>
  <p>The following have been my observations:</p>
  <ol>
  <li>If I add <code>ssr:true</code> or <code>ssr:false</code> in <strong>nuxt.config.js</strong> it seems to make no difference to the dist directory output.</li>
  <li>If I add routes to the generate settings, it generates the output as desired</li>
  </ol>
  <pre><code>  generate: {
      ...
      routes: ['blogs/blog1']
    }
  </code></pre>
  <p>From the documentation I thought that nuxt automatically crawled for all routes and generated them.</p>
  <p>Is there a way to get what I desire? Can I generate the routes by some looping logic? Thanks</p>