Reputation: 15
So I'm trying to create a new ionic 4 project, I installed the cli version 4
Cli version: ionic -v command shows this line
CLI 4.12.0
but once I created the project and checked package.json of the project I found this line :
"@ionic/angular": "^5.0.0",
this is a little bit confusing, but this means that my project runs under ionic 5 ?
Thank you.
Upvotes: 0
Views: 1376
Reputation: 604
The cli has nothing to do with the @ionic/angular version. You can use the latest cli version, but install the @ionic/angular version you'd like, doing this:
npm i @ionic/[email protected]
You can pick whatever version you'd like from here. Just go to Versions tab.
edit: you may want to do this before downgrading if you don't start a fresh install:
npm rm @ionic/angular --save
Upvotes: 1