Skip to content

Commit a15775f

Browse files
committed
Set one example of css class in app component
1 parent e29e467 commit a15775f

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

Diff for: src/app/app.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<h1>
1+
<h1 class="title">
22
{{title}}
33
</h1>

Diff for: src/app/app.component.scss

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.title {
2+
color: red;
3+
}

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import * as childProcess from 'child_process';
88
styleUrls: ['./app.component.scss']
99
})
1010
export class AppComponent {
11-
title = 'app works!';
11+
title = `App works !`;
1212

1313
constructor() {
1414
// Check if electron is correctly injected (see externals in webpack.config.js)
@@ -17,4 +17,4 @@ export class AppComponent {
1717
console.log('c', childProcess);
1818

1919
}
20-
}
20+
}

0 commit comments

Comments
 (0)