I am currently working with Angular 2.
When I incorporate this code in my SCSS file, everything runs smoothly.
.text::after {
content: "\00a0\00a0";
}
However, if I move it to the
styles: [``]
I encounter the error:
Uncaught SyntaxError: Octal literals are not allowed in strict mode.
I understand that the code within styles: [``]
should be CSS syntax.
I attempted the following:
styles: [`
.text::after {
content: " ";
}
`]
However, this displays
as text on the screen. How can I correct this issue?