0
If you want import a file from public folder you should check the documentation. You should use require when you import dynamic asset. Like this:
<img class="ico_ico_arrow" :src="require('images/ico_arrow_left1.svg')"/>
0
The asset()
helper function is only for the Laravel Blade template. you can’t use it inside of a regular Vue application.
In Vue, you should use require()
in order to solve this problem.
Source:stackexchange.com