Topic: File Input Component – Wrong Import Statement In Docs
                                            
                                            nick.celestin
                                     pro                                     asked 8 years ago                                
https://mdbootstrap.com/angular/components/inputs/#file-input
I've installed MDB Angular Pro via NPM. In which case, this:
import { UploadFile, UploadInput, UploadOutput } from 'your_path_to/typescripts/pro';
import { humanizeBytes } from 'your_path_to/typescripts/pro/file-input';
should be
import { UploadFile, UploadInput, UploadOutput } from 'your_path_to/typescripts/pro/file-input';
import { humanizeBytes } from 'your_path_to/typescripts/pro/file-input';
And it would be nice if the documentation addressed the difference between import statements from the manually downloaded product and the NPM installed product.
                                                    
                                                    Damian Gemza
                                             staff                                             answered 8 years ago                                        
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
 - Premium support: No
 - Technology: MDB Angular
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No