This project was generated with Angular CLI version 14.0.0.
Ejemplo de tablas bootstrap5 filtrables y ordenables
ng build --base-href="./"
1.- ng g module tablas --routing
2.- ng g component tablas/tabla01
3.- En tablasModule, exportar los componentes
4.- En app.module, importar tablasModule.ts
ng add @ng-bootstrap/ng-bootstrap
npm i bootstrap-icons --save
Then add this line to your styles.css file:
@import "~bootstrap-icons/font/bootstrap-icons.css";
npm install ngx-toastr@15.2.2
npm install @angular/animations --save
Importar ambos módulos en el app.module.ts
imports: [
...
BrowserAnimationsModule,
ToastrModule.forRoot(),
],
add it to your angular.json
"styles": [
"node_modules/ngx-toastr/toastr.css"
]