Every application using the framework contains a root module and may also contain one or more sub modules.
使用该框架的每个应用都包含一个根模块,还可以包含一个或多个子模块。
As the app grows, we refactor the root module into feature modules that represent collections of related functionality.
随着应用规模的增长,我们逐步从根模块中重构出一些特性模块,来代表一组相关功能的集合。
We then import these modules into the root module.
然后,我们在根模块中导入它们。
We'll see how later in the page. Let's start with the root module.
稍后我们就会看到怎么做。不过还是先从根模块开始吧!
We'll see how later in the page. Let's start with the root module.
稍后我们就会看到怎么做。不过还是先从根模块开始吧!
应用推荐