Skip to content

Commit

Permalink
Set one example of css class in app component
Browse files Browse the repository at this point in the history
  • Loading branch information
maximegris committed Apr 19, 2017
1 parent e29e467 commit a15775f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h1>
<h1 class="title">
{{title}}
</h1>
3 changes: 3 additions & 0 deletions src/app/app.component.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.title {
color: red;
}
4 changes: 2 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -17,4 +17,4 @@ export class AppComponent {
console.log('c', childProcess);

}
}
}

0 comments on commit a15775f

Please sign in to comment.