docs(component-styles): Small typo fixes
Small typo fixes
This commit is contained in:
parent
c9b66ea04d
commit
8a49b4a41c
|
@ -8,7 +8,7 @@ include ../_util-fns
|
|||
On top of this, Angular has the ability to bundle *component styles*
|
||||
with our components enabling a more modular design than regular stylesheets.
|
||||
|
||||
In this chapter we how to load and apply these *component styles*.
|
||||
In this chapter we learn how to load and apply these *component styles*.
|
||||
|
||||
# Table Of Contents
|
||||
|
||||
|
@ -176,7 +176,7 @@ a(id='loading-styles')
|
|||
`styles: [require('my.component.css')]`
|
||||
|
||||
We set the `styles` property, **not** `styleUrls` property! The module bundler is loading the CSS strings, not Angular.
|
||||
Angular only sees the CSS strings *after* the bundler loaded them. To Angular it is as if
|
||||
Angular only sees the CSS strings *after* the bundler loads them. To Angular it is as if
|
||||
we wrote the `styles` array by hand.
|
||||
Refer to the module bundler's documentation for information on loading CSS in this manner.
|
||||
|
||||
|
|
Loading…
Reference in New Issue