title: JS code working on localhost but not on production
body: <p>I have this Vue component showing images according to the data property item.stars.</p>
  
  <p>It works fine on localhost but doesn't work on my production server. The first image is displayed, and I can see the Vue properties that should cause the other two images to be displayed, but for some reason these aren't shown.</p>
  
  <p>Is there anything wrong with the JS code? How is it possible that this code works on localhost?</p>
  
  <p>Any help would be appreciated.</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;img v-lazy="'/uploads/' + item.images[0].image_path + '_small.jpg'" :alt="item.name" style='height: auto'&gt;
  
  &lt;img src='/icons/unique2.png' v-if="(item.stars.filter(e =&gt; e.star_type === 2).length &gt; 0)" style="position: absolute; left: 0; top: 0; width: 30%;"&gt;
  
  &lt;img src='/icons/Star-01.png' v-if="(item.stars.filter(e =&gt; e.star_type === 1).length &gt; 0)" style="position: absolute; right: 0; top: 0; width: 20%;"&gt;
  </code></pre>