From 938b76e9045886805b67b6a3f821bf50bbfc1cbb Mon Sep 17 00:00:00 2001 From: Sylvain Jermini Date: Sat, 16 Feb 2019 15:41:13 +0100 Subject: [PATCH] #1 use scss --- angular.json | 11 ++++++++--- src/{styles.css => styles.scss} | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) rename src/{styles.css => styles.scss} (83%) diff --git a/angular.json b/angular.json index fcabd017..8a1fcbed 100644 --- a/angular.json +++ b/angular.json @@ -23,7 +23,7 @@ "src/assets" ], "styles": [ - "src/styles.css" + "src/styles.scss" ], "scripts": [] }, @@ -79,7 +79,7 @@ "tsConfig": "src/tsconfig.spec.json", "karmaConfig": "src/karma.conf.js", "styles": [ - "src/styles.css" + "src/styles.scss" ], "scripts": [], "assets": [ @@ -131,5 +131,10 @@ } } }, - "defaultProject": "alfio-public-frontend" + "defaultProject": "alfio-public-frontend", + "schematics": { + "@schematics/angular:component": { + "styleext": "scss" + } + } } \ No newline at end of file diff --git a/src/styles.css b/src/styles.scss similarity index 83% rename from src/styles.css rename to src/styles.scss index fde7d71c..f65d948a 100644 --- a/src/styles.css +++ b/src/styles.scss @@ -1,5 +1,5 @@ /* You can add global styles to this file, and also import other style files */ -@import "~bootstrap/dist/css/bootstrap.css"; +@import "~bootstrap/scss/bootstrap"; body {