ソースを参照

♻️ Sass --> SCSS

jmacura 3 年 前
コミット
a95a342a6d
4 ファイル変更4 行追加3 行削除
  1. 3 2
      angular.json
  2. 0 0
      src/app/app.component.scss
  3. 1 1
      src/app/app.component.ts
  4. 0 0
      src/styles.scss

+ 3 - 2
angular.json

@@ -7,7 +7,7 @@
       "projectType": "application",
       "schematics": {
         "@schematics/angular:component": {
-          "style": "sass"
+          "style": "scss"
         }
       },
       "root": "",
@@ -50,7 +50,8 @@
               }
             ],
             "styles": [
-              "./node_modules/hslayers-ng/css/hslayers-ng.css"
+              "./node_modules/hslayers-ng/css/hslayers-ng.css",
+              "./src/styles.scss"
             ],
             "scripts": [],
             "customWebpackConfig": {

+ 0 - 0
src/app/app.component.sass → src/app/app.component.scss


+ 1 - 1
src/app/app.component.ts

@@ -16,7 +16,7 @@ import {CalculatorComponent} from './calculator/calculator.component';
 @Component({
   selector: 'application-root',
   templateUrl: './app.component.html',
-  styleUrls: ['./app.component.sass'],
+  styleUrls: ['./app.component.scss'],
 })
 export class AppComponent {
   /* You can name your app as you like or not at all */

+ 0 - 0
src/styles.sass → src/styles.scss