【发布时间】:2022-01-26 05:12:55
【问题描述】:
有什么方法可以得到 angular2+ 组件的编译 CSS(作为字符串)?
@Component({
selector: 'test-graph',
templateUrl: './test-graph.component.html',
styleUrls: ['./test-graph.component.scss']
})
export class TestGraphComponent implements OnInit {
}
正在寻找一些方法/实用程序来获取在“test-graph.component.scss”中定义的 css。
【问题讨论】: