This repository was archived by the owner on Apr 6, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1k
docs(migration): restructure upgrade guide #7730
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3881df2
docs: move edge channel page to going further section
clemcode 7e8cb36
docs: reorder going further section
clemcode c2243b5
docs: move upgrade guide at top level of getting started
clemcode 1940dff
docs: restructure upgrade guide
clemcode 965ed87
docs: add redirects
clemcode c5c3567
docs: fix link
danielroe File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
28 changes: 0 additions & 28 deletions
28
docs/content/1.getting-started/10.upgrade-guide/0.migration.md
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Upgrade Guide | ||
|
||
Have a Nuxt 2 project to migrate? Use these guides to upgrade your Nuxt applications to Nuxt 3 or take the first step in that direction with Nuxt Bridge. | ||
|
||
If you are already using Nuxt 3 and want to upgrade to the latest release or test new features before their release, head over to the [Upgrading Nuxt 3](#upgrading-nuxt-3) section. | ||
|
||
## Feature Comparison | ||
|
||
In the table below, there is a quick comparison between 3 versions of Nuxt: | ||
|
||
Feature / Version | Nuxt 2 | Nuxt Bridge | Nuxt 3 | ||
-------------------------|-----------------|------------------|--------- | ||
Vue | 2 | 2 | 3 | ||
Stability | π Stable | π Semi-stable | Release candidate | ||
Performance | π Fast | βοΈ Faster | π Fastest | ||
Nitro Engine | β | β | β | ||
ESM support | π Partial | π Better | β | ||
TypeScript | βοΈ Opt-in | π§ Partial | β | ||
Composition API | β | π§ Partial | β | ||
Options API | β | β | β | ||
Components Auto Import | β | β | β | ||
`<script setup>` syntax | β | π§ Partial | β | ||
Auto Imports | β | β | β | ||
Webpack | 4 | 4 | 5 | ||
Vite | β οΈ Partial | π§ Partial | β | ||
Nuxi CLI | β Old | β nuxi | β nuxi | ||
Static sites | β | β | β | ||
|
||
## Nuxt 2 to Nuxt 3 | ||
|
||
The migration guide provides a step-by-step comparison of Nuxt 2 features to Nuxt 3 features and guidance to adapt your current application. | ||
|
||
::alert{type=info icon=π} | ||
[**Migrate from From Nuxt 2 to Nuxt 3**](/migration/overview) | ||
:: | ||
|
||
## Nuxt 2 to Nuxt Bridge | ||
|
||
If you prefer to progressively migrate your Nuxt 2 application to Nuxt 3, you can use Nuxt Bridge. Nuxt Bridge is a compatibility layer that allows you to use Nuxt 3 features in Nuxt 2 with an opt-in mechanism. | ||
|
||
::alert{type=info icon=π} | ||
[**Migrate from Nuxt 2 to Nuxt Bridge**](/bridge/overview) | ||
:: | ||
|
||
## Upgrading Nuxt 3 | ||
|
||
### Latest release | ||
|
||
To upgrade Nuxt 3 to the latest release, use the `nuxi upgrade` command. | ||
|
||
```bash | ||
npx nuxi upgrade | ||
``` | ||
|
||
### Edge release channel | ||
|
||
::alert{type=info icon=π} | ||
To use the latest Nuxt 3 build and test features before their release, read the [edge release channel](/guide/going-further/edge-channel) guide. | ||
:: |
File renamed without changes.
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.