From 1941d7c7434c315e2a9dee40951f38eb49c27862 Mon Sep 17 00:00:00 2001 From: Brandon Date: Thu, 7 Feb 2019 16:57:18 +0000 Subject: [PATCH] docs: ignore initial components for app compilation in router example (#28592) PR Close #28592 --- ...-list.component.css => crisis-list.component.1.css} | 0 ...ist.component.html => crisis-list.component.1.html} | 0 ...is-list.component.ts => crisis-list.component.1.ts} | 4 ++-- ...ro-list.component.css => hero-list.component.1.css} | 0 ...-list.component.html => hero-list.component.1.html} | 0 ...hero-list.component.ts => hero-list.component.1.ts} | 4 ++-- aio/content/guide/router.md | 10 +++++----- 7 files changed, 9 insertions(+), 9 deletions(-) rename aio/content/examples/router/src/app/crisis-list/{crisis-list.component.css => crisis-list.component.1.css} (100%) rename aio/content/examples/router/src/app/crisis-list/{crisis-list.component.html => crisis-list.component.1.html} (100%) rename aio/content/examples/router/src/app/crisis-list/{crisis-list.component.ts => crisis-list.component.1.ts} (63%) rename aio/content/examples/router/src/app/hero-list/{hero-list.component.css => hero-list.component.1.css} (100%) rename aio/content/examples/router/src/app/hero-list/{hero-list.component.html => hero-list.component.1.html} (100%) rename aio/content/examples/router/src/app/hero-list/{hero-list.component.ts => hero-list.component.1.ts} (60%) diff --git a/aio/content/examples/router/src/app/crisis-list/crisis-list.component.css b/aio/content/examples/router/src/app/crisis-list/crisis-list.component.1.css similarity index 100% rename from aio/content/examples/router/src/app/crisis-list/crisis-list.component.css rename to aio/content/examples/router/src/app/crisis-list/crisis-list.component.1.css diff --git a/aio/content/examples/router/src/app/crisis-list/crisis-list.component.html b/aio/content/examples/router/src/app/crisis-list/crisis-list.component.1.html similarity index 100% rename from aio/content/examples/router/src/app/crisis-list/crisis-list.component.html rename to aio/content/examples/router/src/app/crisis-list/crisis-list.component.1.html diff --git a/aio/content/examples/router/src/app/crisis-list/crisis-list.component.ts b/aio/content/examples/router/src/app/crisis-list/crisis-list.component.1.ts similarity index 63% rename from aio/content/examples/router/src/app/crisis-list/crisis-list.component.ts rename to aio/content/examples/router/src/app/crisis-list/crisis-list.component.1.ts index 2fa2e05e49..e8945db638 100644 --- a/aio/content/examples/router/src/app/crisis-list/crisis-list.component.ts +++ b/aio/content/examples/router/src/app/crisis-list/crisis-list.component.1.ts @@ -4,7 +4,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'app-crisis-list', - templateUrl: './crisis-list.component.html', - styleUrls: ['./crisis-list.component.css'] + templateUrl: './crisis-list.component.1.html', + styleUrls: ['./crisis-list.component.1.css'] }) export class CrisisListComponent { } diff --git a/aio/content/examples/router/src/app/hero-list/hero-list.component.css b/aio/content/examples/router/src/app/hero-list/hero-list.component.1.css similarity index 100% rename from aio/content/examples/router/src/app/hero-list/hero-list.component.css rename to aio/content/examples/router/src/app/hero-list/hero-list.component.1.css diff --git a/aio/content/examples/router/src/app/hero-list/hero-list.component.html b/aio/content/examples/router/src/app/hero-list/hero-list.component.1.html similarity index 100% rename from aio/content/examples/router/src/app/hero-list/hero-list.component.html rename to aio/content/examples/router/src/app/hero-list/hero-list.component.1.html diff --git a/aio/content/examples/router/src/app/hero-list/hero-list.component.ts b/aio/content/examples/router/src/app/hero-list/hero-list.component.1.ts similarity index 60% rename from aio/content/examples/router/src/app/hero-list/hero-list.component.ts rename to aio/content/examples/router/src/app/hero-list/hero-list.component.1.ts index 5ee06903c0..cbf2e54d99 100644 --- a/aio/content/examples/router/src/app/hero-list/hero-list.component.ts +++ b/aio/content/examples/router/src/app/hero-list/hero-list.component.1.ts @@ -4,7 +4,7 @@ import { Component } from '@angular/core'; @Component({ selector: 'app-hero-list', - templateUrl: './hero-list.component.html', - styleUrls: ['./hero-list.component.css'] + templateUrl: './hero-list.component.1.html', + styleUrls: ['./hero-list.component.1.css'] }) export class HeroListComponent { } diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index b5456e089c..a18baf962a 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -896,11 +896,11 @@ Replace the contents of each component with the sample HTML below. - + - + @@ -972,7 +972,7 @@ Be sure it is the _last_ route in the configuration. To test this feature, add a button with a `RouterLink` to the `HeroListComponent` template and set the link to `"/sidekicks"`. - + @@ -1239,11 +1239,11 @@ Here are the files discussed in this milestone. - + - +