Closed MuhammadSawalhy closed 3 years ago
Here is how I typed my <img>
:
<img markup-inline src='../common-assets/icons/search.svg'></img>
Here is how I typed my
<img>
:<img markup-inline src='../common-assets/icons/search.svg'></img>
try to replace single quotes('
) with double quotes("
)
try to replace single quotes(
'
) with double quotes("
)
It works, thank you.
It seems that we need another loader for my SVG files, as I got this error. I have tries
raw-loader
andfile-loader
, without any SVG loader, nothing is working.Here is my configuration
webpack.common.js
: