Set one example of css class in app component
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
<h1>
|
<h1 class="title">
|
||||||
{{title}}
|
{{title}}
|
||||||
</h1>
|
</h1>
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
.title {
|
||||||
|
color: red;
|
||||||
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import * as childProcess from 'child_process';
|
|||||||
styleUrls: ['./app.component.scss']
|
styleUrls: ['./app.component.scss']
|
||||||
})
|
})
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
title = 'app works!';
|
title = `App works !`;
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
// Check if electron is correctly injected (see externals in webpack.config.js)
|
// Check if electron is correctly injected (see externals in webpack.config.js)
|
||||||
|
|||||||
Reference in New Issue
Block a user