I am confused on what project type should I use. In official Ionic docs they suggest to create a new project by running - ionic start MyApp tutorial --type=ionic-angular
. But from other source I found that I could ionic start MyApp tutorial --type=angular
, which makes my life easier because I could use for ex. ng add
to add dependencies and the project structure is like Angular. However, --type=angular
doesnt have super
project type, so I can't generate new app with ionic start MyApp super --type=angular
, I can live with that, but need some advices on which project type is preferred - what criteria for choosing one over another (--type=angular
vs --type=ionic-angular
)?
With Ionic 4 you should use the cmmmand,
ionic start MyApp tutorial --type=angular
whereas in Ionic3 you would have used
ionic start MyApp tutorial --type=ionic-angular
basically going forward you should use the first way. However i would recommend to build apps using capcitor which makes life easier
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