Set one example of css class in app component
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<h1>
|
||||
<h1 class="title">
|
||||
{{title}}
|
||||
</h1>
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
.title {
|
||||
color: red;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user