Declaring multiple components within @ngModule in Angular 2

前端 未结 2 1166
花落未央
花落未央 2021-01-06 02:24

I am developing a large application using Angular 2 and ASP.net MVC. I have approximately 120 components in my application which are all declared i

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-06 03:13

    I'm afraid there is not a shorter way to achieve what you are trying to do.

    But if it is possible, you can divide your application in multiple parts. This means you will have more than one app.module.ts.

提交回复
热议问题