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
parent
commit
7693222c27
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/en/Tutorials/Todo/Index.md
  2. 0
      templates/app/angular/src/app/home/home.component.scss
  3. 2
      templates/app/angular/src/app/home/home.component.ts

6
docs/en/Tutorials/Todo/Index.md

@ -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{

0
templates/app/angular/src/app/home/home.component.css → templates/app/angular/src/app/home/home.component.scss

2
templates/app/angular/src/app/home/home.component.ts

@ -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 {

Loading…
Cancel
Save