This takes an array of CSS or LESS files like so:
@Component({
templateUrl: './whatever.html',
selector: 'whatever',
styleUrls: ['./whatever.scss']
})
The funny thing is though, the styles seem to end up inline in the HTML in a style tag and not in a standalone .css file that could be cached/shared across numerous web pages in an application. (kinda nasty)
No comments:
Post a Comment