mdbootstrap / mdb-angular-ui-kit

Angular 16 & Bootstrap 5 & Material Design 2.0 UI KIT
https://mdbootstrap.com/docs/angular/
Other
1.12k stars 280 forks source link

Angular 16 Support Migrating from angular-bootstrap-md #165

Open briannezhad opened 9 months ago

briannezhad commented 9 months ago

Hi, I previously used angular-bootstrap-md, and I am now trying to move to mdb-angular-ui-kit. I see that angular-bootstrap-md doesn't support Angular 16; if I try to install angular-bootstrap-md, it tells me to use --force (which is not the correct way). What is the equivariant to the import below in mdb-angular-ui-kit?

import {IconsModule, MDBBootstrapModule} from 'angular-bootstrap-md';
idzark commented 9 months ago

@briannezhad There are no equivalents for these modules in mdb-angular-ui-kit. The MDBBootstrapModule in angular-bootstrap-md is a main module containing imports for all modules. In mdb-angular-ui-kit you need to import all modules separately. You can find list of all modules and import paths here: https://mdbootstrap.com/docs/angular/getting-started/modules-and-imports/

The IconsModule is not needed in mdb-angular-ui-kit, because we don't have any component wrapper for icons in this version. You just need to use HTML element with Font Awesome classes: https://mdbootstrap.com/docs/angular/content-styles/icons/