title: Nuxt - dynamic params after building does not work
body: <p>In a Nuxt ("spa" mode) project I have a url with a dynamic param <code>/shop/:product</code>, which can be as such:</p>
  
  <pre class="lang-html prettyprint-override"><code>    /shop/ipad-128gb-rose-gold
      /shop/subway-gift-card
      /shop/any-string
  </code></pre>
  
  <p>etc.</p>
  
  <p>Using this directory structure works fine in development environment:</p>
  
  <pre><code>pages/
    shop/
      _product.vue
  </code></pre>
  
  <p>However it does not work in production. Looking to the generated <code>bin/</code> folder I see that there is nothing inside <code>shop/</code> directory. And I see that Nuxt mentions a solution here: <a href="https://nuxtjs.org/api/configuration-generate/#routes" rel="nofollow noreferrer">https://nuxtjs.org/api/configuration-generate/#routes</a></p>
  
  <p>But in my situation, I don't know what the <code>:product</code> param will be (could be any string).</p>
  
  <p>I am fetching the <code>product</code> details in <code>pages/shop/_product.vue</code> from the server (if it exists), otherwise handling the error. So now how do I do that in a production build?</p>
  
  <p>I think I am misunderstanding the Nuxt solution -- am I really supposed to generate <em>all</em> possible routes for every existing product slug??</p>