Skip to content

Commit

Permalink
misc/ replace old builders by the new ones in hOW-TO documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
maximegris committed Apr 27, 2024
1 parent 6b5c8a5 commit adb0073
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions HOW_TO.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ ng add ngx-bootstrap

### How to install Angular Material

Replace temporarily custom builders by default ones in `angular.json`
Temporarily replace custom builders by default ones in `angular.json`

@angular-builders/custom-webpack:browser => @angular-devkit/build-angular:browser \
@angular-builders/custom-webpack:dev-server => @angular-devkit/build-angular:dev-server
@angular-builders/custom-esbuild:browser => @angular-devkit/build-angular:browser \
@angular-builders/custom-esbuild:dev-server => @angular-devkit/build-angular:dev-server

Add Angular Material using `ng add` command:

Expand All @@ -35,5 +35,5 @@ Angular Material Library is now installed in your project.
Put back custom builders in `angular.json`
@angular-devkit/build-angular:browser => @angular-builders/custom-webpack:browser \
@angular-devkit/build-angular:dev-server => @angular-builders/custom-webpack:dev-server
@angular-devkit/build-angular:browser => @angular-builders/custom-esbuild:browser \
@angular-devkit/build-angular:dev-server => @angular-builders/custom-esbuild:dev-server

0 comments on commit adb0073

Please sign in to comment.