title: How can I link background-image [vue cli]
body: <p>when I'm trying to run this code below, I have a problem. It runs, but I can't see any images and it writes that url (unknown). How can I solve it. All images definately exists.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;template&gt;
    &lt;div class="slider"&gt;&lt;/div&gt;
  &lt;/template&gt;
  &lt;style lang="scss" scoped&gt;
  .slider {
    width: 100%;
    height: 100%;
    background-image: url("../assets/images/slides/2160/0.jpg");
  }
  &lt;/style&gt;
  &lt;script&gt;
  export default {
    name: "Slider",
  };
  &lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>Thanks it works — [js vue.js]</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>backgroundImage: `url(${require('../assets/images/slides/2160/0.jpg')})`</code></pre>
  </div>
  </div>
  </p>
  <p>but what should I do if my path already use ${} for example</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>"../assets/images/slides/${this.$assetsResolution}/${i}.jpg"</code></pre>
  </div>
  </div>
  </p>