ionic cli vs ionic cli2

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

I have not seen/found anything about the differences between ionic cli v1 and ionic cli v2, and I had a couple of questions related to this, if anyone could let me know it would be super helpful.

I have an ionic v1 project, but when I run any ionic commands, it tells me my cli (1.7.16) is out of date, and that I should update to ionic cli v2.

So my questions are:

  1. Since I have an ionic v1 project, should I be updating to cli 2, should the cli 2 support both ionic v1 and v2 projects?
  2. Related to this, it looks like cli 2 kind of works with my ionic 1 project, however, it keeps on telling me that I should change ionic.project to ionic.config.json, so I was wondering, is this recommendation actually a difference between ionic v1 and ionic v2 projects, and that since I have ionic v1, I should keep it as ionic.project, or should I really switch it to ionic.config.json.

Any advice would be greatly appreciated.

profilepic.png
manpreet 2 years ago

Yes the cli v2 supports ionic 1 projects, so you should have no issues there. The change to ionic.config.json does apply to both v1 and v2 projects.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.