I downloaded ionic 2 andI am able to create apps with it just fine. I do that by following command
ionic start cutePuppyPics1 --v2
However I still want to create 1.x apps. How can I do that without removing ionic globally and making global changes?
Something like
ionic start cutePuppyPics1 --v1
installs ionic 1.x.
I do not want to go through removing entire ionic module globally then start all over again.
Thanks.
Starting a new Ionic app is incredibly simple. From the command line, run the ionic start command and the CLI will handle the rest. Please enter the full name of your app. You can change this at any time.
The Ionic CLI is the primary tool used during the process of developing an Ionic app. It's like a Swiss Army Knife: It brings together a bunch of miscellaneous tools under a single interface.
Now Ionic Updated the Docs.
If we want to create older version of Ionic App, Declare the Version Number while creating the App.
ionic start cutePuppyPics --type ionic1
Create latest Version (i.e - V2 or Higher) of Ionic App.
ionic start cutePuppyPics
Now these are deprecated and if you want to get v1 app using cli 2 have to use
ionic start myApp --type ionic1
However using
ionic start myApp
will return latest version of ionic
Please try the below command:
ionic start cutePuppyPics1 --type=ionic1
Reference : https://github.com/ionic-team/ionic-cli
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With