【问题标题】:Can I use Ionic Material with Ionic 2?我可以在 Ionic 2 中使用 Ionic Material 吗?
【发布时间】:2017-02-24 12:48:37
【问题描述】:

我打算使用 Ionic 2 开发一个 IOS 应用程序,有没有使用 Ionic Material IonicMaterial 的能力 实现我的应用程序? 我知道 Ionic 2 已经物化了,但我想利用 Ionic 材料库。

【问题讨论】:

    标签: ionic2 angular-material


    【解决方案1】:

    是的。你可以使用。 安装角材料 1.

    npm install --save @angular/material

    2.导入并添加

       import { MaterialModule } from '@angular/material';
       // other imports 
       @NgModule({
       imports: [MaterialModule],
       ...
       })
    

    那么就可以使用材质组件了

    【讨论】:

      猜你喜欢
      • 2023-03-14
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-06
      • 1970-01-01
      • 1970-01-01
      • 2017-01-05
      相关资源
      最近更新 更多