monerod-gui/HOW_TO.md

40 lines
1.2 KiB
Markdown
Raw Normal View History

2024-10-21 15:12:14 +00:00
### *First check it exists a version of your library compatible with the version of Angular defined in package.json.*
2024-09-17 18:33:24 +00:00
### How to install ng-bootstrap
``` bash
ng add @ng-bootstrap/ng-bootstrap
```
### How to install ngx-bootstrap
``` bash
ng add ngx-bootstrap
```
### How to install Angular Material
Replace temporarily 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
Add Angular Material using `ng add` command:
``` bash
ng add @angular/material
```
You will get the following questions:
``` bash
? Choose a prebuilt theme name, or "custom" for a custom theme: *Choose any theme you like here*
? Set up global Angular Material typography styles? *Yes*
? Set up browser animations for Angular Material? *Do not include / error if you choose Include*
```
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