Skip to content

Commit f000c77

Browse files
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!
1 parent 93da512 commit f000c77

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
@@ -342,8 +342,8 @@ Then add the needed script files to to `apps[0].scripts`.
342342
Finally add the Bootstrap CSS to the `apps[0].styles` array:
343343
```
344344
"styles": [
345-
"styles.css",
346-
"../node_modules/bootstrap/dist/css/bootstrap.css"
345+
"../node_modules/bootstrap/dist/css/bootstrap.css",
346+
"styles.css"
347347
],
348348
```
349349

0 commit comments

Comments
 (0)