Topic: Angular prod build problems
Hello i have some visual problems after production build on Angular, can you help me?
Expected behavior
My buttons and mdb commponents must be rendered normally
Actual behavior
Mdb components are not rendered like expected after prod build (another colors etc.)
Resources (screenshots, code snippets etc.)
<-- In dev mode
<-- After ng --prod --aot=true
Help me plz :)
Wolfdream answered 5 years ago
I found the solution, just added this line in production in angular.json: "extractCss": false,
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 9.3.1
- Device: Laptop
- Browser: Chrome
- OS: Ubuntu 18.04
- Provided sample code: No
- Provided link: No