Skip to content

Commit

Permalink
updated file name of angular cli config file (valor-software#4556)
Browse files Browse the repository at this point in the history
Since angular v6 the cli config file has changed. This commit fixes this filename change
See https://stackoverflow.com/a/43832022/570009
  • Loading branch information
boazrymland authored and leo6104 committed Oct 10, 2019
1 parent 0b997a9 commit f341b24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/getting-started/bootstrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ ng serve

Now that the project is set up it must be configured to include the Bootstrap CSS. You have two options:

- add styles to .angular-cli.json:
- Open the file .angular-cli.json from the root of your project.
- add styles to angular.json:
- Open the file angular.json from the root of your project.
- Under the property apps the first item in that array is the default application.
- There is a property styles which allows external global styles to be applied to your application.

Expand All @@ -43,7 +43,7 @@ Now that the project is set up it must be configured to include the Bootstrap CS
],
```

Note: When you make changes to .angular-cli.json you will need to re-start ng serve to pick up configuration changes.
Note: When you make changes to angular.json you will need to re-start ng serve to pick up configuration changes.

- add styles to index.html:
- for Bootstrap 3:
Expand Down Expand Up @@ -71,7 +71,7 @@ cd my-app
If the project has already been created then

- rename `src/styles.css` to `src/styles.scss`
- in `.angular-cli.json` make the following changes
- in `angular.json` make the following changes
```
"styles": [
"styles.css" <-- rename this from .css to .scss
Expand Down

0 comments on commit f341b24

Please sign in to comment.