Skip to content
This repository was archived by the owner on Jul 12, 2019. It is now read-only.

Commit 5ee32d4

Browse files
Add version with Sass support
- BS 4 Sass Published to new branch
1 parent 5d80f29 commit 5ee32d4

10 files changed

+8
-7
lines changed

angular-cli.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"prefix": "app",
1616
"mobile": false,
1717
"styles": [
18-
"../node_modules/bootstrap/dist/css/bootstrap.css",
19-
"styles.css"
18+
"styles.scss"
2019
],
2120
"scripts": [
2221
"../node_modules/jquery/dist/jquery.js",
@@ -43,7 +42,7 @@
4342
}
4443
},
4544
"defaults": {
46-
"styleExt": "css",
45+
"styleExt": "scss",
4746
"prefixInterfaces": false
4847
}
4948
}

src/app/about/about.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
33
@Component({
44
selector: 'app-about',
55
templateUrl: './about.component.html',
6-
styleUrls: ['./about.component.css']
6+
styleUrls: ['./about.component.scss']
77
})
88
export class AboutComponent implements OnInit {
99
title = 'about works!';
File renamed without changes.

src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component } from '@angular/core';
33
@Component({
44
selector: 'app-root',
55
templateUrl: './app.component.html',
6-
styleUrls: ['./app.component.css']
6+
styleUrls: ['./app.component.scss']
77
})
88
export class AppComponent {
99
title = 'app works!';

src/app/contact/contact.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
33
@Component({
44
selector: 'app-contact',
55
templateUrl: './contact.component.html',
6-
styleUrls: ['./contact.component.css']
6+
styleUrls: ['./contact.component.scss']
77
})
88
export class ContactComponent implements OnInit {
99
title = 'contact works!';
File renamed without changes.

src/app/home/home.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Component, OnInit } from '@angular/core';
33
@Component({
44
selector: 'app-home',
55
templateUrl: './home.component.html',
6-
styleUrls: ['./home.component.css']
6+
styleUrls: ['./home.component.scss']
77
})
88
export class HomeComponent implements OnInit {
99
title = 'home works!';

src/styles.css renamed to src/styles.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/* You can add global styles to this file, and also import other style files */
2+
@import "../node_modules/bootstrap/scss/bootstrap";
3+
24
body {
35
padding-top: 5rem;
46
}

0 commit comments

Comments
 (0)