Does ionic default template to v2?


#1

I’m new to ionic i installed CLI on late 2016 did an update yesterday ( at least i guess )

today i create a test app

i tried with
ionic start testTabs --v2

and got
[ERROR] Sorry! The --v1 and --v2 flags have been removed.
Use the --type option. (ionic start --help)

so I just went
ionic start testTabs

and
cd ./testTabs
ionic info

and got
global packages:

@ionic/cli-utils : 1.4.0
Ionic CLI        : 3.4.0

local packages:

@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-ionic-angular : 1.3.1
Ionic Framework                 : ionic-angular 3.3.0

System:

Node       : v6.11.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b 
ios-deploy : not installed
ios-sim    : not installed
npm        : 3.10.10 

it seems to me a ionic 1, do i need to force a 2 version? do i have an old ionic framework?


#2

This is the Ionic Framework version. And this is the current one you want.


#3

thanks, can i start a ionic v2 project? i fond the --type option and i tried ionic2 but it doesn’t seem an option


#4

There is Ionic v1 and Ionic (Angular). You want Ionic (Angular) which is what was formerly referred to as “v2”.