From a15775fb7a98399852bb12dd39bdc3d9393be48d Mon Sep 17 00:00:00 2001 From: Maxime GRIS Date: Wed, 19 Apr 2017 20:36:09 +0200 Subject: [PATCH] Set one example of css class in app component --- src/app/app.component.html | 2 +- src/app/app.component.scss | 3 +++ src/app/app.component.ts | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index b6931b538..4b0fa0998 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,3 +1,3 @@ -

+

{{title}}

diff --git a/src/app/app.component.scss b/src/app/app.component.scss index e69de29bb..a85d25730 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -0,0 +1,3 @@ +.title { + color: red; +} diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 97d93cf1d..d0fb20b70 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -8,7 +8,7 @@ import * as childProcess from 'child_process'; styleUrls: ['./app.component.scss'] }) export class AppComponent { - title = 'app works!'; + title = `App works !`; constructor() { // Check if electron is correctly injected (see externals in webpack.config.js) @@ -17,4 +17,4 @@ export class AppComponent { console.log('c', childProcess); } -} \ No newline at end of file +}