Skip to content

Commit

Permalink
docs(updating): change version numbers for old migration docs
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyscarney committed Mar 21, 2023
1 parent bbd6ff7 commit 98761bf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/updating/4-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ In Ionic 4, the package name is `@ionic/angular`. Uninstall Ionic 3 and install

```shell
$ npm uninstall ionic-angular
$ npm install @ionic/angular
$ npm install @ionic/angular@v4-lts
```

While migrating an app, update the imports from `ionic-angular` to `@ionic/angular`.
Expand Down
6 changes: 3 additions & 3 deletions docs/updating/5-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ For a **complete list of breaking changes** from Ionic 4 to Ionic 5, please refe
For Angular based projects, you can simply run:

```shell
npm install @ionic/angular@latest @ionic/angular-toolkit@latest --save
npm install @ionic/angular@v5-lts @ionic/angular-toolkit@4.0.0 --save
```

For React projects, you can run:

```shell
npm install @ionic/react@latest @ionic/react-router@latest ionicons@latest
npm install @ionic/react@v5-lts @ionic/react-router@v5-lts ionicons@5.5.3
```

For Stencil / vanilla JS projects, you can run:

```shell
npm i @ionic/core@latest --save
npm i @ionic/core@v5-lts --save
```

If you would like a fresh project starter, a new project base can be created from the CLI and an existing app can be migrated over manually.

0 comments on commit 98761bf

Please sign in to comment.