I don't like of the Ionic v4

I update Ionic to version 4. But I wanna to return to ionic3
How I do?

What exactly did you do?

What is your ionic info output?

1 Like

Install ionic CLI 3.20
npm -g install ionic@3.20

and check your “ionic info” if it is something like this

@ionic/cli-utils  : 1.19.2
ionic (Ionic CLI) : 3.20.0
@ionic/app-scripts : 3.1.8
Ionic Framework    : ionic-angular 3.9.2
1 Like

You don’t need to revert back to the older version of the CLI, by default the new CLI will create Ionic 3 projects (for now) unless you specifically provide --type=angular to the ionic start command.

In future, you will still be able to choose which version of the framework you want to use (v1, v3, or v4)

1 Like

If you were using ionic-angular 3.9.2 correct the package.json with this:

  "dependencies": {
    "@angular/common": "5.0.0",
    "@angular/compiler": "5.0.0",
    "@angular/compiler-cli": "5.0.0",
    "@angular/core": "5.0.0",
    "@angular/forms": "5.0.0",
    "@angular/http": "5.0.0",
    "@angular/platform-browser": "5.0.0",
    "@angular/platform-browser-dynamic": "5.0.0",
    "@ionic-native/core": "^4.3.1",
    "@ionic-native/in-app-browser": "^4.3.1",
    "@ionic-native/splash-screen": "^4.3.1",
    "@ionic-native/status-bar": "^4.3.1",
    "@ionic/storage": "2.1.3",
    "cordova-android": "^6.2.3",
    "cordova-ios": "^4.5.2",
    "cordova-plugin-crosswalk-webview": "^2.3.0",
    "cordova-plugin-device": "^1.1.6",
    "cordova-plugin-inappbrowser": "^1.7.1",
    "cordova-plugin-ionic-keyboard": "^2.0.2",
    "cordova-plugin-ionic-webview": "^1.1.15",
    "cordova-plugin-splashscreen": "^4.0.3",
    "cordova-plugin-statusbar": "^2.2.3",
    "cordova-plugin-whitelist": "^1.3.2",
    "ionic-angular": "3.9.2",
    "ionicons": "3.0.0",
    "rxjs": "5.5.2",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.18"
  "devDependencies": {
    "@ionic/app-scripts": "3.1.5",
    "typescript": "~2.4.2"

After that you should be fine.

1 Like

Outout was ionic 4.0.1

Ionic Framework is not Ionic CLI.

If you did npm install -g ionic then you updated Ionic CLI to version 4.x - which works with all Ionic Framework versions from 1.x up to the new 4.x beta. There is no reason to stay with 3.x.

1 Like

Actually right now I would say yes and no, depends, if you need a prod build to publish the app in store, there is an issue regarding app size https://github.com/ionic-team/ionic-cli/issues/3430

If you don’t push any updates right now, agree the last cli works well