Reputation:
I'm working on an angular 2 project and got stuck on this issue:
The style-code works. BUT when I check dev-tools it looks like this:
(notice the "
<style>...</style>
" in the end)
Now, my problem is that I want the styles to be shown like this:
Anyone that knows how I can fix this?
Upvotes: 0
Views: 524
Reputation: 932
If you are using the Angular CLI, you can add the --extract-css true flag to the CLI command, like so,
$ ng s -o --extract-css true
In this way, you get a link to the CSS line so you can drill into it.
Upvotes: 1