From e79e98ab44851a237fb9b2a81e7fc0dfd11d8e01 Mon Sep 17 00:00:00 2001 From: Kapunahele Wong Date: Thu, 11 Jan 2018 11:09:23 -0500 Subject: [PATCH] docs: fix lazy loading example dir name (#21475) PR Close #21475 --- .../e2e/app.e2e-spec.ts | 0 .../example-config.json | 0 .../plnkr.json | 0 .../src/app/app-routing.module.ts | 0 .../src/app/app.component.css | 0 .../src/app/app.component.html | 0 .../src/app/app.component.spec.ts | 0 .../src/app/app.component.ts | 0 .../src/app/app.module.ts | 0 .../customer-list/customer-list.component.css | 0 .../customer-list/customer-list.component.html | 0 .../customer-list/customer-list.component.spec.ts | 0 .../customers/customer-list/customer-list.component.ts | 0 .../src/app/customers/customers-routing.module.ts | 0 .../src/app/customers/customers.module.ts | 0 .../src/app/orders/order-list/order-list.component.css | 0 .../app/orders/order-list/order-list.component.html | 0 .../app/orders/order-list/order-list.component.spec.ts | 0 .../src/app/orders/order-list/order-list.component.ts | 0 .../src/app/orders/orders-routing.module.ts | 0 .../src/app/orders/orders.module.ts | 0 .../src/index.html | 0 .../src/main.ts | 0 aio/content/guide/lazy-loading-ngmodules.md | 10 +++++----- 24 files changed, 5 insertions(+), 5 deletions(-) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/e2e/app.e2e-spec.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/example-config.json (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/plnkr.json (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/app-routing.module.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/app.component.css (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/app.component.html (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/app.component.spec.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/app.component.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/app.module.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/customers/customer-list/customer-list.component.css (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/customers/customer-list/customer-list.component.html (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/customers/customer-list/customer-list.component.spec.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/customers/customer-list/customer-list.component.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/customers/customers-routing.module.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/customers/customers.module.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/orders/order-list/order-list.component.css (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/orders/order-list/order-list.component.html (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/orders/order-list/order-list.component.spec.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/orders/order-list/order-list.component.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/orders/orders-routing.module.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/app/orders/orders.module.ts (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/index.html (100%) rename aio/content/examples/{lazy-loading => lazy-loading-ngmodules}/src/main.ts (100%) diff --git a/aio/content/examples/lazy-loading/e2e/app.e2e-spec.ts b/aio/content/examples/lazy-loading-ngmodules/e2e/app.e2e-spec.ts similarity index 100% rename from aio/content/examples/lazy-loading/e2e/app.e2e-spec.ts rename to aio/content/examples/lazy-loading-ngmodules/e2e/app.e2e-spec.ts diff --git a/aio/content/examples/lazy-loading/example-config.json b/aio/content/examples/lazy-loading-ngmodules/example-config.json similarity index 100% rename from aio/content/examples/lazy-loading/example-config.json rename to aio/content/examples/lazy-loading-ngmodules/example-config.json diff --git a/aio/content/examples/lazy-loading/plnkr.json b/aio/content/examples/lazy-loading-ngmodules/plnkr.json similarity index 100% rename from aio/content/examples/lazy-loading/plnkr.json rename to aio/content/examples/lazy-loading-ngmodules/plnkr.json diff --git a/aio/content/examples/lazy-loading/src/app/app-routing.module.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/app-routing.module.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/app-routing.module.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/app-routing.module.ts diff --git a/aio/content/examples/lazy-loading/src/app/app.component.css b/aio/content/examples/lazy-loading-ngmodules/src/app/app.component.css similarity index 100% rename from aio/content/examples/lazy-loading/src/app/app.component.css rename to aio/content/examples/lazy-loading-ngmodules/src/app/app.component.css diff --git a/aio/content/examples/lazy-loading/src/app/app.component.html b/aio/content/examples/lazy-loading-ngmodules/src/app/app.component.html similarity index 100% rename from aio/content/examples/lazy-loading/src/app/app.component.html rename to aio/content/examples/lazy-loading-ngmodules/src/app/app.component.html diff --git a/aio/content/examples/lazy-loading/src/app/app.component.spec.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/app.component.spec.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/app.component.spec.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/app.component.spec.ts diff --git a/aio/content/examples/lazy-loading/src/app/app.component.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/app.component.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/app.component.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/app.component.ts diff --git a/aio/content/examples/lazy-loading/src/app/app.module.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/app.module.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/app.module.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/app.module.ts diff --git a/aio/content/examples/lazy-loading/src/app/customers/customer-list/customer-list.component.css b/aio/content/examples/lazy-loading-ngmodules/src/app/customers/customer-list/customer-list.component.css similarity index 100% rename from aio/content/examples/lazy-loading/src/app/customers/customer-list/customer-list.component.css rename to aio/content/examples/lazy-loading-ngmodules/src/app/customers/customer-list/customer-list.component.css diff --git a/aio/content/examples/lazy-loading/src/app/customers/customer-list/customer-list.component.html b/aio/content/examples/lazy-loading-ngmodules/src/app/customers/customer-list/customer-list.component.html similarity index 100% rename from aio/content/examples/lazy-loading/src/app/customers/customer-list/customer-list.component.html rename to aio/content/examples/lazy-loading-ngmodules/src/app/customers/customer-list/customer-list.component.html diff --git a/aio/content/examples/lazy-loading/src/app/customers/customer-list/customer-list.component.spec.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/customers/customer-list/customer-list.component.spec.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/customers/customer-list/customer-list.component.spec.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/customers/customer-list/customer-list.component.spec.ts diff --git a/aio/content/examples/lazy-loading/src/app/customers/customer-list/customer-list.component.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/customers/customer-list/customer-list.component.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/customers/customer-list/customer-list.component.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/customers/customer-list/customer-list.component.ts diff --git a/aio/content/examples/lazy-loading/src/app/customers/customers-routing.module.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/customers/customers-routing.module.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/customers/customers-routing.module.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/customers/customers-routing.module.ts diff --git a/aio/content/examples/lazy-loading/src/app/customers/customers.module.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/customers/customers.module.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/customers/customers.module.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/customers/customers.module.ts diff --git a/aio/content/examples/lazy-loading/src/app/orders/order-list/order-list.component.css b/aio/content/examples/lazy-loading-ngmodules/src/app/orders/order-list/order-list.component.css similarity index 100% rename from aio/content/examples/lazy-loading/src/app/orders/order-list/order-list.component.css rename to aio/content/examples/lazy-loading-ngmodules/src/app/orders/order-list/order-list.component.css diff --git a/aio/content/examples/lazy-loading/src/app/orders/order-list/order-list.component.html b/aio/content/examples/lazy-loading-ngmodules/src/app/orders/order-list/order-list.component.html similarity index 100% rename from aio/content/examples/lazy-loading/src/app/orders/order-list/order-list.component.html rename to aio/content/examples/lazy-loading-ngmodules/src/app/orders/order-list/order-list.component.html diff --git a/aio/content/examples/lazy-loading/src/app/orders/order-list/order-list.component.spec.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/orders/order-list/order-list.component.spec.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/orders/order-list/order-list.component.spec.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/orders/order-list/order-list.component.spec.ts diff --git a/aio/content/examples/lazy-loading/src/app/orders/order-list/order-list.component.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/orders/order-list/order-list.component.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/orders/order-list/order-list.component.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/orders/order-list/order-list.component.ts diff --git a/aio/content/examples/lazy-loading/src/app/orders/orders-routing.module.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/orders/orders-routing.module.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/orders/orders-routing.module.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/orders/orders-routing.module.ts diff --git a/aio/content/examples/lazy-loading/src/app/orders/orders.module.ts b/aio/content/examples/lazy-loading-ngmodules/src/app/orders/orders.module.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/app/orders/orders.module.ts rename to aio/content/examples/lazy-loading-ngmodules/src/app/orders/orders.module.ts diff --git a/aio/content/examples/lazy-loading/src/index.html b/aio/content/examples/lazy-loading-ngmodules/src/index.html similarity index 100% rename from aio/content/examples/lazy-loading/src/index.html rename to aio/content/examples/lazy-loading-ngmodules/src/index.html diff --git a/aio/content/examples/lazy-loading/src/main.ts b/aio/content/examples/lazy-loading-ngmodules/src/main.ts similarity index 100% rename from aio/content/examples/lazy-loading/src/main.ts rename to aio/content/examples/lazy-loading-ngmodules/src/main.ts diff --git a/aio/content/guide/lazy-loading-ngmodules.md b/aio/content/guide/lazy-loading-ngmodules.md index 579bd5f07a..e38dbbfca9 100644 --- a/aio/content/guide/lazy-loading-ngmodules.md +++ b/aio/content/guide/lazy-loading-ngmodules.md @@ -97,7 +97,7 @@ placeholder markup in `app.component.html` with a custom nav so you can easily navigate to your modules in the browser: - + @@ -137,7 +137,7 @@ Each feature module acts as a doorway via the router. In the `AppRoutingModule`, In `AppRoutingModule`, update the `routes` array with the following: - + @@ -149,7 +149,7 @@ The import statements stay the same. The first two paths are the routes to the ` Next, take a look at `customers.module.ts`. If you’re using the CLI and following the steps outlined in this page, you don’t have to do anything here. The feature module is like a connector between the `AppRoutingModule` and the feature routing module. The `AppRoutingModule` imports the feature module, `CustomersModule`, and `CustomersModule` in turn imports the `CustomersRoutingModule`. - + @@ -162,7 +162,7 @@ The `customers.module.ts` file imports the `CustomersRoutingModule` and `Custome The next step is in `customers-routing.module.ts`. First, import the component at the top of the file with the other JavaScript import statements. Then, add the route to `CustomerListComponent`. - + @@ -171,7 +171,7 @@ Notice that the `path` is set to an empty string. This is because the path in `A Repeat this last step of importing the `OrdersListComponent` and configuring the Routes array for the `orders-routing.module.ts`: - +