Topic: Angular prod build problems
Wolfdream free asked 4 years ago
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 free answered 4 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
- ForumUser: 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