[vue] Why do I put the picture under the static file and the page dynamic reference becomes invalid?



Mar.09,2021

because you write in template will go loader, will adjust according to the path you set, the final generated code path is not.. / static/404.png;, but you will not take the loader path through the variable setting is the original path, it is wrong in the generation directory.

Menu