2015-12-12 4 views
1

Я создаю на мой взгляд тег img с src; но изображение не отображается. Каков путь? Спасибо Всего Самойwebpack angularjs es6 путь изображения

мой test.html

<div class="col-md-10"> 
    <img src='img/logo.png'></img> 
    <h1> TEST 
    </h1> 

</div>4 

Моя структура:

х: \ \ ГКЗ страница \ тест \ test.html

х: \ SRC \ страница \ тест \ IMG \ logo.png

webpack.config.js

}, { 
    // ASSET LOADER 
    // Reference: https://github.com/webpack/file-loader 
    // Copy png, jpg, jpeg, gif, svg, woff, woff2, ttf, eot files to output 
    // Rename the file using the asset hash 
    // Pass along the updated reference to your code 
    // 
    test: /\.(png|jpg|jpeg|gif|svg|woff|woff2|ttf|eot)$/, 
    loader: 'file' 
}, { 

ответ