N
N
Nikolay Semenov2017-04-01 15:41:52
webpack
Nikolay Semenov, 2017-04-01 15:41:52

How to move pictures in webpack build to bild folder?

Hello! Guys, such a problem: I
use the webpack simple assembly https://github.com/vuejs-templates/webpack-simple
I want to use my own images, but they are not transferred.
are in the assets folder in svg format, there is also the logo of the assembly in png, it is transferred, if I throw mine in png, they are also not transferred
in the code, they are used as follows:

<router-link to="homepage">
            <svg class="icon-link-menu">
                <use xlink:href="./assets/restaurant.svg"></use>
            </svg>
        </router-link>

Help me to understand.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question