Skip to content

Commit acc8a6d

Browse files
peterblazejewiczJonathan Jayet
authored and
Jonathan Jayet
committed
chore(readme): update Bootstrap CSS inclusion example
This commit fixes README example of including Bootstrap dependency in generated project in that way that Bootstrap CSS dependency is moved up - to be the first in build bundle. The reason behind this change is that Bootstrap comes with reset CSS code and globals that are intended to be global unless reset and changed by cascading file - here style.css. Thanks! Close angular#2197
1 parent 25fc7bb commit acc8a6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,8 @@ Then add the needed script files to `apps[0].scripts`:
370370
Finally add the Bootstrap CSS to the `apps[0].styles` array:
371371
```
372372
"styles": [
373-
"styles.css",
374-
"../node_modules/bootstrap/dist/css/bootstrap.css"
373+
"../node_modules/bootstrap/dist/css/bootstrap.css",
374+
"styles.css"
375375
],
376376
```
377377

0 commit comments

Comments
 (0)