Topic: Angular ERROR document is not defined
Expected behavior
Manually adding ng-uikit-pro-standard && ng Serve the application && Being able to see the styles imported
Actual behavior
ERROR in document is not defined after ng serve
Resources (screenshots in the links )
Before I added to manually add Angular Material and added in the assets/template/* all the files contained in ng-uikit-pro-standard.
I then added a new component, and took the code from your site for a multi-item-carousel which after a while worked( without styles ) So I linked the ng-uikit's styles to this component( in css ), edited by ng run scss scss compile - npm of which files took only the main ones. and the ng-uikit's modules and other components it needed like the pictures in the link below.
I'm aware I've done many things, and many maybe even wrong, but I don't know how to come out of this. Please help me!
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
 - Premium support: No
 - Technology: MDB Angular
 - MDB Version: 9.3.1
 - Device: Laptop
 - Browser: Chrome
 - OS: Windows 10
 - Provided sample code: No
 - Provided link: Yes
 
Arkadiusz Idzikowski staff commented 5 years ago
Please configure your application following the steps from our quick start guide:
https://mdbootstrap.com/docs/angular/getting-started/quick-start/#npm-installation