I am using angular/material in my angular-cli application it works fine but i have implemented 2 bootstrap theme for each panels (front end and client portals) when i use client portal saperately material works fine but when i redirect from front end theme to my client portal using express routing my angular material not working pagination works properly but my mat-select is not showing dropdown and view of angular material is also not working.
答案 0 :(得分:1)
我的问题是没有得到我的模块css文件,因为我正在从另一个cli应用程序进行渲染以使其正常工作,我已经在我的主要angular-cli.json文件上进行了更新
"styles": [
"../node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css"
],
对我特定的应用样式数组,效果很好。