离子应用到离子材料或角材料 [英] ionic app to ionic material or angular material

查看:31
本文介绍了离子应用到离子材料或角材料的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只想知道如何将我的 ionic + angularJS 应用程序升级为 ionic material + angular 或 angular matal + ionic 应用程序.

我已经编写了很多代码,不想更改整个应用程序.有没有办法将材料注入现有的离子应用程序?

解决方案

很简单:https://github.com/zachsoft/Ionic-Material

正如您可以在此处 github.com/zachsoft/Ionic-Material#can-i-use-ionic-and-angular-material-together 中阅读的那样,对于离子,使用离子材料比使用角材料要好得多.

这里有另一个带有 Material 的 Ionic 模块,但我还没有测试过:https://github.com/delta98/ionic-material-design-lite.

如果你只想简单的改变(没有角度指令),试试 getmdl.io

Just want to know how can I upgrade my ionic + angularJS app to ionic material + angular or angular matrial + ionic app.

I have a lot of code already written and do not want to change whole app. is there any way to inject material to existing ionic app?

解决方案

It's pretty easy: https://github.com/zachsoft/Ionic-Material

As you can read in here github.com/zachsoft/Ionic-Material#can-i-use-ionic-and-angular-material-together, it's much better to use Ionic Material than Angular Material for ionic.

Here you have another module for Ionic with Material, but I have not tested this: https://github.com/delta98/ionic-material-design-lite.

If you want just simply changes (no angular directives), try getmdl.io

这篇关于离子应用到离子材料或角材料的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆