From b029f79b4d3356788c37a9ce30cecbe3793dfc7c Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Fri, 10 Aug 2018 14:45:12 -0700 Subject: [PATCH] Import styles in correct order (#668) In the `angular-cli.json` file, the styles.css file should be imported last in the styles section, so the developer can override styles from third party libraries (bootstrap, in this case). --- .../content/Angular-CSharp/ClientApp/angular.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/angular.json b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/angular.json index fd8a52cf13..cf9991fd59 100644 --- a/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/angular.json +++ b/src/Microsoft.DotNet.Web.Spa.ProjectTemplates/content/Angular-CSharp/ClientApp/angular.json @@ -24,8 +24,8 @@ "src/assets" ], "styles": [ - "src/styles.css", - "node_modules/bootstrap/dist/css/bootstrap.min.css" + "node_modules/bootstrap/dist/css/bootstrap.min.css", + "src/styles.css" ], "scripts": [] },