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

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

问题描述

我想使用 Ionic 2 开发应用程序,但现在我正在使用 angularJS1 和 Ionic1.

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天全站免登陆