How can I check or prove that a module in angular2 is lazy loaded?
问题 If I have access to an angular2 application's code and there is a module that is supposedly lazy loaded, is there a way, independent of examining the code, that I can test that module to see if it is lazy loaded. If necessary and there is no other way, I could add code into the module in question to test, if that is a possibility. But what code would I add? 回答1: Check the Network tab of chrome dev tools (ctrl + shift + i) in the Google Chrome browser. If your module is not being lazy loaded