Skip to content

Commit 9a9048d

Browse files
committed
Minor changes.
1 parent 4324327 commit 9a9048d

File tree

4 files changed

+38
-16
lines changed

4 files changed

+38
-16
lines changed

Diff for: README.md

+35-13
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,31 @@ Angular2 with TypeScript and Gulp
33

44
A basic Angular2 application with Gulp as build system.
55

6-
Prerequisites
7-
-------------
6+
#### 1. Prerequisites
7+
8+
*nodejs* must be installed on your system and the below global node packages must be installed:
9+
10+
- gulp
11+
12+
> npm i -g gulp
13+
14+
- gulp-cli
15+
16+
> npm i -g gulp-cli
817
9-
- nodejs
10-
- gulp and gulp-cli
1118
- typings
12-
- typescrit
19+
20+
21+
22+
- typescript
23+
24+
25+
1326
- ts-node
1427

15-
Running
16-
-------
28+
29+
30+
#### 2. Cloning the repository
1731

1832
Clone the repository:
1933

@@ -23,23 +37,31 @@ Navigate to `angular2-typescript-gulp` directory:
2337

2438
> cd angular2-typescript-gulp
2539
26-
Install dependencies:
40+
#### 3. Installing dependencies
41+
42+
Install dependencies by running the following command:
2743

2844
> npm install
2945
30-
`node_modules` and `typings` directories should be created during the install.
46+
`node_modules` and `typings` directories will be created during the install.
3147

32-
Build the project:
48+
#### 4. Building the project
49+
50+
Build the project by running the following command:
3351

3452
> npm run clean & npm run build
3553
36-
`build` directory should be created during the build
54+
`build` directory will be created during the build
55+
56+
#### 5. Starting the application
57+
58+
Start the application by running the following command:
3759

3860
> npm start
3961
40-
The application should be displayed in the browser.
62+
The application will be displayed in the browser.
4163

4264
Resources
4365
---------
4466

45-
- A step-by-step tutorial - http://blog.codeleak.pl/2016/03/quickstart-angular2-with-typescript-and.html
67+
- [A step-by-step tutorial](http://blog.codeleak.pl/2016/03/quickstart-angular2-with-typescript-and.html)

Diff for: src/app/app.module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {BrowserModule} from '@angular/platform-browser';
33

44
import {AppComponent} from "./app.component";
55
import {TaskListComponent} from "./todo/components/task-list.component";
6-
import {AboutComponent} from "./about/components/about.components";
6+
import {AboutComponent} from "./about/components/about.component";
77
import {TaskComponent} from "./todo/components/task.component";
88

99
import {routing, appRoutingProviders} from './app.routing';

Diff for: src/app/app.routing.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import {Routes, RouterModule, ExtraOptions} from '@angular/router';
1+
import {Routes, RouterModule} from '@angular/router';
22
import {TaskListComponent} from "./todo/components/task-list.component";
3-
import {AboutComponent} from "./about/components/about.components";
3+
import {AboutComponent} from "./about/components/about.component";
44
import {ModuleWithProviders} from "@angular/core";
55

66
const appRoutes: Routes = [

0 commit comments

Comments
 (0)