This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +15
-15
lines changed
public/docs/_examples/heroes-graphql/ts/app Expand file tree Collapse file tree 7 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import { Component } from '@angular/core';
13
13
</nav>
14
14
<router-outlet></router-outlet>
15
15
` ,
16
- styleUrls : [ 'app.component.css' ]
16
+ styleUrls : [ './ app.component.css' ]
17
17
} )
18
18
export class AppComponent {
19
19
title = 'Tour of Heroes - GraphQL' ;
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import { Hero } from './hero';
13
13
@Component ( {
14
14
moduleId : module . id ,
15
15
selector : 'my-dashboard' ,
16
- templateUrl : 'dashboard.component.html' ,
17
- styleUrls : [ 'dashboard.component.css' ]
16
+ templateUrl : './ dashboard.component.html' ,
17
+ styleUrls : [ './ dashboard.component.css' ]
18
18
} )
19
19
// #enddocregion search
20
20
export class DashboardComponent implements OnInit {
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import { Hero } from './hero';
12
12
@Component ( {
13
13
moduleId : module . id ,
14
14
selector : 'my-hero-detail' ,
15
- templateUrl : 'hero-detail.component.html' ,
16
- styleUrls : [ 'hero-detail.component.css' ]
15
+ templateUrl : './ hero-detail.component.html' ,
16
+ styleUrls : [ './ hero-detail.component.css' ]
17
17
} )
18
18
export class HeroDetailComponent implements OnInit {
19
19
hero : Hero ;
Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ import { ApolloQueryResult } from 'apollo-client';
13
13
@Component ( {
14
14
moduleId : module . id ,
15
15
selector : 'my-hero-detail' ,
16
- templateUrl : 'hero-detail.component.html' ,
17
- styleUrls : [ 'hero-detail.component.css' ]
16
+ templateUrl : './ hero-detail.component.html' ,
17
+ styleUrls : [ './ hero-detail.component.css' ]
18
18
} )
19
19
export class HeroDetailComponent implements OnInit {
20
20
hero : Hero ;
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import gql from 'graphql-tag';
12
12
@Component ( {
13
13
moduleId : module . id ,
14
14
selector : 'hero-search' ,
15
- templateUrl : 'hero-search.component.html' ,
16
- styleUrls : [ 'hero-search.component.css' ]
15
+ templateUrl : './ hero-search.component.html' ,
16
+ styleUrls : [ './ hero-search.component.css' ]
17
17
} )
18
18
export class HeroSearchComponent implements OnInit {
19
19
// #docregion search
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import { Hero } from './hero';
14
14
@Component ( {
15
15
moduleId : module . id ,
16
16
selector : 'my-heroes' ,
17
- templateUrl : 'heroes.component.html' ,
18
- styleUrls : [ 'heroes.component.css' ]
17
+ templateUrl : './ heroes.component.html' ,
18
+ styleUrls : [ './ heroes.component.css' ]
19
19
} )
20
20
export class HeroesComponent implements OnInit {
21
21
// #docregion this-heroes
@@ -27,7 +27,7 @@ export class HeroesComponent implements OnInit {
27
27
constructor (
28
28
private apollo : Angular2Apollo ,
29
29
private router : Router ) { }
30
- // #enddocregion inject-apollo
30
+ // #enddocregion inject-apollo
31
31
32
32
// #docregion query-heroes
33
33
getHeroes ( ) : void {
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ import { Hero } from './hero';
14
14
@Component ( {
15
15
moduleId : module . id ,
16
16
selector : 'my-heroes' ,
17
- templateUrl : 'heroes.component.html' ,
18
- styleUrls : [ 'heroes.component.css' ]
17
+ templateUrl : './ heroes.component.html' ,
18
+ styleUrls : [ './ heroes.component.css' ]
19
19
} )
20
20
export class HeroesComponent implements OnInit {
21
21
// #docregion this-heroes
@@ -27,7 +27,7 @@ export class HeroesComponent implements OnInit {
27
27
constructor (
28
28
private apollo : Angular2Apollo ,
29
29
private router : Router ) { }
30
- // #enddocregion inject-apollo
30
+ // #enddocregion inject-apollo
31
31
32
32
// #docregion query-heroes
33
33
getHeroes ( ) : void {
You can’t perform that action at this time.
0 commit comments