A project of angular6
the picture of the static resource is displayed normally when the module is not lazily loaded. The path to the picture is as follows
<img class="" src="../../../../assets/images/icon/user.png" alt="">
after the lazy loading of the module is realized, the lazy loading function is normal after starting the project, but the picture can not come out. The error of 404 is as follows:
I guess the possible reason is that the lazy loading module of angular6 will change the context. could it be caused by this reason? But what should I do when
does not achieve lazy loading
http://localhost:4200/-sharp/login
achieves lazy loading
http://localhost:4200/-sharp/auth/login has an extra context / auth, because of this reason, but I try to change the path is still wrong, please help answer, thank you!