如何将codebase ionic v1升级到离子v3 [英] how to upgrade codebase ionic v1 to ionic v3
问题描述
我在离子1中遇到问题,这个框架已被弃用。如何在没有代码库中的大量修改的情况下将离子1升级为离子3。任何人都有这方面的帮助
I am facing issue in ionic 1 and this framework is deprecated. how to upgrade ionic 1 to ionic 3 without huge modifying in codebase. anyone help in this
注意:离子构建ios这些命令都不起作用
Note: ionic build ios those command all are not working
提前谢谢
推荐答案
没有在代码库中进行大量修改
without huge modifying in codebase
这是不可能的。
离子1到2/3是从AngularJS到Angular2的大跳跃,需要切换到打字稿和其他基本框架的改动。
Ionic 1 to 2/3 is a large jump from AngularJS to Angular2, which requires a switch to typescript and other fundamental framework alterations.
< a href =https://stackoverflow.com/a/34116329/5779280>这是关于AngularJS与Angular2的好文章
这是一个很好的写作,从Ionic 1迁移到Ionic 2应该有所帮助。
Here is a good write up for the migration from Ionic 1 to Ionic 2 that should help.
然后一旦完成,从2迁移到3 并没有那么大的飞跃。
Then once that's done, the migration from 2 to 3 is not that big of a leap.
这篇关于如何将codebase ionic v1升级到离子v3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!