Can dynamic img be put into assets?

as mentioned, I know that dynamic img can be put into static, but I want to know if it can be put into assets.
is something like this
src= "". / assets/img/"+node.img+".png""
I can"t write it this way. I want to know how to write it

if I can put it in assets.
Jun.26,2021

your static and assets don't know what kind of folder it is, isn't it a static folder? if so, it's no problem to put static files in the static folder, brother, as long as there are files, the path is correct, access is completely no problem!

by the way, except for code errors


Yes, but you need import or not found


is not the path to find the picture after build. You can put it anywhere

Menu