0

我在我的 angular-cli 应用程序中使用 angular/material 它工作正常,但是当我单独使用客户端门户时,我已经为每个面板(前端和客户端门户)实现了 2 个引导主题,材料工作正常,但是当我从前端主题重定向到我的客户端门户使用快速路由我的角度材料不工作分页工作正常,但我的垫选择没有显示下拉菜单,角度材料的视图也不起作用。

4

1 回答 1

1

I problem was it not getting my modules css file because i am rendering from another cli application to make it working i have updated on my main angular-cli.json file

"styles": [
    "../node_modules/@angular/material/prebuilt-themes/deeppurple-amber.css"
  ],

to my particular app styles array and it works fine.

于 2018-06-19T11:22:25.640 回答