Browse Source
Merge pull request #8492 from abpframework/home-component-scss
Renamed the home.component.css as home.component.scss
pull/8494/head
Halil İbrahim Kalkan
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
4 deletions
-
docs/en/Tutorials/Todo/Index.md
-
templates/app/angular/src/app/home/home.component.scss
-
templates/app/angular/src/app/home/home.component.ts
|
|
|
@ -703,7 +703,7 @@ import { TodoItemDto, TodoService } from '@proxy'; |
|
|
|
@Component({ |
|
|
|
selector: 'app-home', |
|
|
|
templateUrl: './home.component.html', |
|
|
|
styleUrls: ['./home.component.css'] |
|
|
|
styleUrls: ['./home.component.scss'] |
|
|
|
}) |
|
|
|
export class HomeComponent implements OnInit { |
|
|
|
|
|
|
|
@ -774,9 +774,9 @@ Open the `/angular/src/app/home/home.component.html` file and replace its conten |
|
|
|
</div> |
|
|
|
```` |
|
|
|
|
|
|
|
### home.component.css |
|
|
|
### home.component.scss |
|
|
|
|
|
|
|
As the final touch, open the `/angular/src/app/home/home.component.css` file in the `Pages` and replace with the following content: |
|
|
|
As the final touch, open the `/angular/src/app/home/home.component.scss` file in the `Pages` and replace with the following content: |
|
|
|
|
|
|
|
````css |
|
|
|
#TodoList{ |
|
|
|
|
|
|
|
@ -5,7 +5,7 @@ import { OAuthService } from 'angular-oauth2-oidc'; |
|
|
|
@Component({ |
|
|
|
selector: 'app-home', |
|
|
|
templateUrl: './home.component.html', |
|
|
|
styleUrls: ['./home.component.css'], |
|
|
|
styleUrls: ['./home.component.scss'], |
|
|
|
}) |
|
|
|
export class HomeComponent { |
|
|
|
get hasLoggedIn(): boolean { |
|
|
|
|