我们可以使用Ionic 2和AngularJs 1吗? [英] Can We work with Ionic 2 and AngularJs 1?

查看:160
本文介绍了我们可以使用Ionic 2和AngularJs 1吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用Ionic 2开发应用程序,但现在我正在使用带有Ionic1的angularJS1。

I would like to develop applications using Ionic 2, but now I am working with angularJS1 with Ionic1.

我觉得AngularJs 1对我来说很舒服但不是AngularJS 2,有没有办法使用Ionic 2和AngularJS 1?

I feel that AngularJs 1 is comfortable for me but not AngularJS 2, so is there any way to work with Ionic 2 and AngularJS 1?

推荐答案

不幸的是,没有。


Ionic 2基于AngularJS的新 2.x(及更高版本),并随附许多重要的性能,可用性和功能改进。

Ionic 2 is based on the new 2.x (and higher) version of AngularJS, and comes with many significant performance, usability, and feature improvements.

Ionic(1)处于非常高的水平基本上只是一个包装器& AngularJS的指令/组件库(1)。在这方面,Ionic 2以相同的方式构建,利用Angular 2 +的所有好处。

Ionic (1) at a very high-level is essentially just a wrapper & directive/component library for AngularJS (1). In that same regard, Ionic 2 is built in the same way, utilizing all the benefits of Angular 2+.

所以基本上,所有东西都必须升级以获得Ionic的好处2.如果你所拥有的一切都在工作,而且性能不是很迟钝,那么就没有理由升级它,也许你正在开始一个新项目(或者你现有的项目很小而且很容易)

So basically, everything must be upgraded in order to get the benefits of Ionic 2. If everything you have is working, and performance isn't sluggish, there really is no reason to upgrade it, maybe if you were starting a new project (or the current project you have is small and it would be easy)

这篇关于我们可以使用Ionic 2和AngularJs 1吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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