ng 使用lazy

ng new demoName --routing

ng g module lazy --flat

ng g c lazy-parent --module lazy

ng g c lazy-child --module lazy

你可能感兴趣的:(ng 使用lazy)