Topic: Bundle Size Too Big
Richwheels pro asked 6 years ago
nothingeni free answered 4 years ago
Hello,
any updates about this subject ?
Thanks!
Arkadiusz Idzikowski staff commented 4 years ago
From v8 our styles are modular and loaded only when you use specific component. You can also load only the modules you need in your application, here is the list of all available modules:
https://mdbootstrap.com/docs/angular/getting-started/modules/
In v9 we plan to remove fonts from the bundle. You will have to load the fonts from external source.
Arkadiusz Idzikowski staff answered 5 years ago
Hello @gauravrkc90
From version 8.0.0 styles of the components are modular and can be loaded when you import specific module. That mean you can load only the styles you need in your application. However we still need to find some other solution for loading fonts and other assets.
ilprima free commented 4 years ago
Does exist a guide?
Arkadiusz Idzikowski staff commented 4 years ago
What guide do you need exactly? You can find migration guide for updade from MDB 7 to MDB 8 here:
https://mdbootstrap.com/docs/angular/getting-started/migration/
Damian Gemza staff answered 6 years ago
Dear @MarkUlt , @evieira357
We're working on decreasing the bundle size, but I can't provide you with any ETA on this.
You have to be patient.
Best Regards,
Damian
MarkUlt free answered 6 years ago
Is there any news on the progress of reducing the bundle size?
Our bundle size is around 2MB which is very large and it would be better to have a smaller deployment. Just registering the components we use gives a bundle size the same as registering the whole library.
Damian Gemza staff answered 6 years ago
Richwheels pro answered 6 years ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 6.2.3
- Device: PC
- Browser: Chrome
- OS: Win 10
- Provided sample code: No
- Provided link: No