angular4 模块懒加载

( 在项目目录下使用命令行工具) 1.ng g module confirm-order --routing 2.ng g component confirm-order   (注意顺序,先创建module,然后增加组件时angular-cli会自动将component导入到module中) 3.配置路由confirm-order-routing.module.ts const routes: R
相关文章
相关标签/搜索