generator-backbone icon indicating copy to clipboard operation
generator-backbone copied to clipboard

image src in ejs template is not updated when building project.

Open synthresin opened this issue 9 years ago • 1 comments

when an image tag is inside an ejs template.
<img src="images/logo.png" alt="" class="logo"> their src attribute is not updated with minified file name when builded

synthresin avatar Aug 02 '14 08:08 synthresin

you can try like this:

<img src="<%= require('images/logo.png') %>" alt="" class="logo">

jianle avatar Jun 29 '17 03:06 jianle