Skip to content

Commit c006ac3

Browse files
committed
chore(home): update home component
1 parent 3cb971c commit c006ac3

File tree

3 files changed

+29
-29
lines changed

3 files changed

+29
-29
lines changed

Client/app/app.module.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,9 @@ import { ConnectionResolver } from './shared/route.resolver';
7272
}
7373
},
7474
{
75-
path: 'chat', component: ChatComponent, resolve: { connection: ConnectionResolver },
75+
path: 'chat', component: ChatComponent,
76+
// Wait until the resolve is finished before loading the Route
77+
resolve: { connection: ConnectionResolver },
7678
data: {
7779
title: 'SignalR chat example',
7880
meta: [{ name: 'description', content: 'This is an Chat page Description!' }],
@@ -87,7 +89,8 @@ import { ConnectionResolver } from './shared/route.resolver';
8789
])
8890
],
8991
providers: [
90-
LinkService, ConnectionResolver
92+
LinkService,
93+
ConnectionResolver
9194
]
9295
})
9396
export class AppModule {

Client/app/containers/home/home.component.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,36 @@ <h1>{{ title }}</h1>
1414
<div class="col-lg-6">
1515
<h2>What does this Starter offer? </h2>
1616
<ul>
17-
<li>ASP.NET Core 1.1 :: (Currently VS2015 only) - .csproj 2017 version coming when closer to release</li>
17+
<li>ASP.NET Core 1.0 :: ( Visual Studio 2017 )</li>
1818
<li>
1919
Angular 4.* front-end UI framework
2020
<ul>
21-
<li><a href="https://github.com/angular/universal">Universal</a> - server-side rendering for SEO, deep-linking, and incredible performance.</li>
22-
<li>NgRx - Redux architecture</li>
21+
<li>Angular **platform-server** (Universal moved into Core here) - server-side rendering for SEO, deep-linking, and incredible performance.</li>
2322
<li>HMR State Management - Don't lose your applications state during HMR!</li>
24-
<li>AoT (Ahead-of-time) production compilation for even faster prod builds. (UPCOMING)</li>
23+
<li>AoT (Ahead-of-time) production compilation for even faster prod builds.</li>
2524
</ul>
2625
</li>
2726
<li>
2827
The latest TypeScript 2.* features
29-
<ul>
28+
<!--<ul>
3029
<li>
3130
"Path" support example - create your own custom directory paths to avoid `../../` directory diving.<br />
3231
Check the <a href="https://github.com/MarkPieszak/aspnetcore-angular2-universal/blob/master/tsconfig.json">tsconfig</a> to see how they are setup.
3332
</li>
34-
</ul>
33+
</ul>-->
3534
</li>
3635
<li>
37-
Webpack 2 (current in Beta)
36+
Webpack 2
3837
<ul>
39-
<li>TS2 aware path support</li>
38+
<!--<li>TS2 aware path support</li>-->
4039
<li>Hot Module Reloading/Replacement for an amazing dev experience.</li>
41-
<li>Tree-shaking (UPCOMING)</li>
40+
<li>Tree-shaking</li>
4241
</ul>
4342
</li>
43+
4444
<li>Bootstrap (ng2-bootstrap) : Bootstrap capable of being rendered even on the server.</li>
4545
<li>Unit testing via karma & jasmine.</li>
46-
<li>e2e testing via protractor.</li>
46+
<!--<li>e2e testing via protractor.</li>-->
4747
</ul>
4848
</div>
4949

@@ -52,7 +52,7 @@ <h2>Having issues?</h2>
5252

5353
<ul>
5454
<li><strong>Issues with this Starter?</strong> <br>Please post an issue here: <a href="https://github.com/MarkPieszak/aspnetcore-angular2-universal">AspNetCore-Angular2-Universal repo</a><br><br></li>
55-
<li><strong>Issues with <u>Universal</u> itself?</strong> <br>Please post an issue here: <a href="https://github.com/angular/universal">Angular Universal repo</a></li>
55+
<!--<li><strong>Issues with <u>Universal</u> itself?</strong> <br>Please post an issue here: <a href="https://github.com/angular/universal">Angular Universal repo</a></li>-->
5656
</ul>
5757
</div>
5858

README.md

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<img src="./docs/architecture.png" alt="ASP.NET Core Angular 2+ Starter" title="ASP.NET Core Angular 2+ Starter">
77
</p>
88

9+
> Looking for the older 2.x branch? Go [here](https://github.com/MarkPieszak/aspnetcore-angular2-universal/tree/old-2.x-universal-branch)
10+
911
### Harness the power of Angular 2+, ASP.NET Core, now with SEO !
1012

1113
Angular SEO in action:
@@ -15,27 +17,12 @@ Angular SEO in action:
1517
</p>
1618

1719

18-
> Looking for the older 2.x branch? Go [here](https://github.com/MarkPieszak/aspnetcore-angular2-universal/tree/old-2.x-universal-branch)
19-
20-
### Merged 3/30/2017 - TO-DO List:
21-
22-
> PRs always welcome!
23-
24-
- Update to use npm [ngAspnetCoreEngine](https://github.com/angular/universal/pull/682) (still need to tweak a few things there)
25-
- Fix old README to match new project
26-
- Add Redux back in
27-
- Add Bootstrap with SCSS
28-
- Add REST API CRUD Demo
29-
- Potractor e2e testing
30-
- Add Azure application insights module (or at least demo how to use it)
31-
32-
3320
# Table of Contents
3421

3522
* [Features](#features)
3623
* [Getting Started](#getting-started)
3724
* [Deployment](#deployment)
38-
* ~~[Upcoming Features](#upcoming-features)~~
25+
* [Upcoming Features](#upcoming-features)
3926
* [Application Structure](#application-structure)
4027
* [Universal Gotchas](#universal-gotchas)
4128
* ~~[FAQ](#faq)~~
@@ -125,6 +112,16 @@ set ASPNETCORE_ENVIRONMENT=Development
125112
export ASPNETCORE_ENVIRONMENT=Development
126113
```
127114

115+
# Upcoming Features:
116+
117+
- Update to use npm [ngAspnetCoreEngine](https://github.com/angular/universal/pull/682) (still need to tweak a few things there)
118+
- ~~DONE - Fix old README to match new project~~
119+
- Add Redux back in
120+
- Add Bootstrap with SCSS
121+
- Add REST API CRUD Demo
122+
- Potractor e2e testing
123+
- Add Azure application insights module (or at least demo how to use it)
124+
128125
----
129126

130127
----

0 commit comments

Comments
 (0)