diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/.gitignore | 2 | ||||
-rw-r--r-- | client/app/app.component.css | 3 | ||||
-rw-r--r-- | client/app/app.component.html | 2 | ||||
-rw-r--r-- | client/app/app.component.scss | 3 | ||||
-rw-r--r-- | client/app/app.component.ts | 4 | ||||
-rw-r--r-- | client/index.html | 2 | ||||
-rw-r--r-- | client/package.json | 7 |
7 files changed, 13 insertions, 10 deletions
diff --git a/client/.gitignore b/client/.gitignore index ec79762bb..548b53226 100644 --- a/client/.gitignore +++ b/client/.gitignore | |||
@@ -1,3 +1,5 @@ | |||
1 | typings | 1 | typings |
2 | app/**/*.js | 2 | app/**/*.js |
3 | app/**/*.map | 3 | app/**/*.map |
4 | stylesheets/index.css | ||
5 | app/*.css | ||
diff --git a/client/app/app.component.css b/client/app/app.component.css deleted file mode 100644 index d627027e4..000000000 --- a/client/app/app.component.css +++ /dev/null | |||
@@ -1,3 +0,0 @@ | |||
1 | h1 { | ||
2 | font-size: 80px; | ||
3 | } | ||
diff --git a/client/app/app.component.html b/client/app/app.component.html index 4bcdd569c..b6515528b 100644 --- a/client/app/app.component.html +++ b/client/app/app.component.html | |||
@@ -1 +1 @@ | |||
<h1>My First Angular 2 App</h1> | <h1>{{ title }}</h1> | ||
diff --git a/client/app/app.component.scss b/client/app/app.component.scss new file mode 100644 index 000000000..e7315a8e9 --- /dev/null +++ b/client/app/app.component.scss | |||
@@ -0,0 +1,3 @@ | |||
1 | h1 { | ||
2 | font-size: 100px; | ||
3 | } | ||
diff --git a/client/app/app.component.ts b/client/app/app.component.ts index f0ea272af..c908663e9 100644 --- a/client/app/app.component.ts +++ b/client/app/app.component.ts | |||
@@ -5,4 +5,6 @@ import {Component} from 'angular2/core'; | |||
5 | templateUrl: 'app/app.component.html', | 5 | templateUrl: 'app/app.component.html', |
6 | styleUrls: [ 'app/app.component.css' ] | 6 | styleUrls: [ 'app/app.component.css' ] |
7 | }) | 7 | }) |
8 | export class AppComponent { } | 8 | export class AppComponent { |
9 | title = "coucou"; | ||
10 | } | ||
diff --git a/client/index.html b/client/index.html index 15ccedb74..7aa408181 100644 --- a/client/index.html +++ b/client/index.html | |||
@@ -2,7 +2,7 @@ | |||
2 | <head> | 2 | <head> |
3 | <title>Angular 2 QuickStart</title> | 3 | <title>Angular 2 QuickStart</title> |
4 | <meta name="viewport" content="width=device-width, initial-scale=1"> | 4 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
5 | <link rel="stylesheet" href="styles.css"> | 5 | <link rel="stylesheet" href="/stylesheets/index.css"> |
6 | 6 | ||
7 | <!-- 1. Load libraries --> | 7 | <!-- 1. Load libraries --> |
8 | <!-- IE required polyfills, in this exact order --> | 8 | <!-- IE required polyfills, in this exact order --> |
diff --git a/client/package.json b/client/package.json index 171c39edf..71f305914 100644 --- a/client/package.json +++ b/client/package.json | |||
@@ -21,17 +21,16 @@ | |||
21 | "license": "ISC", | 21 | "license": "ISC", |
22 | "dependencies": { | 22 | "dependencies": { |
23 | "angular2": "2.0.0-beta.8", | 23 | "angular2": "2.0.0-beta.8", |
24 | "systemjs": "0.19.22", | 24 | "bootstrap-sass": "^3.3.6", |
25 | "es6-promise": "^3.0.2", | 25 | "es6-promise": "^3.0.2", |
26 | "es6-shim": "^0.33.3", | 26 | "es6-shim": "^0.33.3", |
27 | "reflect-metadata": "0.1.2", | 27 | "reflect-metadata": "0.1.2", |
28 | "rxjs": "5.0.0-beta.2", | 28 | "rxjs": "5.0.0-beta.2", |
29 | "systemjs": "0.19.22", | ||
29 | "zone.js": "0.5.15" | 30 | "zone.js": "0.5.15" |
30 | }, | 31 | }, |
31 | "devDependencies": { | 32 | "devDependencies": { |
32 | "concurrently": "^2.0.0", | ||
33 | "lite-server": "^2.1.0", | ||
34 | "typescript": "^1.8.2", | 33 | "typescript": "^1.8.2", |
35 | "typings":"^0.6.8" | 34 | "typings": "^0.6.8" |
36 | } | 35 | } |
37 | } | 36 | } |