📜  angular import styles.scss - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:34.185000             🧑  作者: Mango

代码示例2
in angular.json:
...
"styles": [
              ...
              "src/styles.scss"
            ],

and in the components.ts
...
styleUrls: ['./app.component.scss']