-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(updating): clean up verbiage and broken links on migration guides (
- Loading branch information
1 parent
8c65f1a
commit 45f7feb
Showing
4 changed files
with
43 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
--- | ||
title: Updating to 5.0 | ||
title: Updating to v5 | ||
--- | ||
|
||
# Updating from Ionic 4 to Ionic 5 | ||
# Updating from Ionic 4 to 5 | ||
|
||
Migrating an app from 4.x to 5.x requires a few updates to the API properties, CSS utilities, and the installed package dependencies. | ||
Migrating an app from Ionic 4 to 5 requires a few updates to the API properties, CSS utilities, and the installed package dependencies. | ||
|
||
:::note | ||
This guide assumes that you have already updated your app to the latest version of Ionic 4. Make sure you have followed the [Upgrading to Ionic 4 Guide](./4-0) before starting this guide. | ||
This guide assumes that you have already updated your app to the latest version of Ionic 4. Make sure you have followed the [Updating to Ionic 4 Guide](./4-0) before starting this guide. | ||
::: | ||
|
||
### API and CSS Updates | ||
|
||
For a complete list of breaking changes from 4.x to 5.x, please refer to [the breaking changes document](https://github.com/ionic-team/ionic/blob/master/BREAKING.md#version-5x) in the Ionic core repo. | ||
:::info Breaking Changes | ||
For a **complete list of breaking changes** from Ionic 4 to Ionic 5, please refer to [the breaking changes document](https://github.com/ionic-team/ionic-framework/blob/main/BREAKING_ARCHIVE/v5.md) in the Ionic Framework repository. | ||
::: | ||
|
||
### Packages and Dependencies | ||
|
||
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. | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
45f7feb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
ionic-docs – ./
ionic-docs-gqykycf8t.vercel.app
ionic-docs-ionic1.vercel.app
ionic-docs-git-main-ionic1.vercel.app