forked from mouseless/learn-nuxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
19 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,25 @@ Below you can find a migration checklist; | |
- [ ] upgrade vue-router: "4.4.2" | ||
``` | ||
|
||
### Use multiple root elements | ||
### `/` is no longer prerendered | ||
|
||
With [email protected] `/` is removed from prerendered routes. Add `/` to | ||
nitro.prerender.routes if nuxi generate is not working as expected | ||
|
||
|
||
### Missing Vite @rollup dependency | ||
|
||
Upgraded Vite version now creates missing `@rollup/rollup-linux...` package error | ||
and fails when bulding on linux. Add following section to package.json to fix | ||
this issue. | ||
|
||
```json | ||
"optionalDependencies": { | ||
"@rollup/rollup-linux-x64-gnu": "^4.20.0" | ||
} | ||
``` | ||
|
||
### Vue 3 multiple root elements | ||
|
||
Vue 2 reguired single root element when creating components but with Vue 3 we can | ||
now use of multiple root elements. | ||
|
@@ -53,23 +71,6 @@ now use of multiple root elements. | |
> | ||
> For further details see [Vue 3 Migration Guide](https://v3-migration.vuejs.org/) | ||
### `/` is no longer prerendered | ||
|
||
With [email protected] `/` is removed from prerendered routes. Add `/` to | ||
nitro.prerender.routes if nuxi generate is not working as expected | ||
|
||
|
||
### Missing Vite @rollup dependency | ||
|
||
Upgraded Vite version now creates missing `@rollup/rollup-linux...` package error | ||
and fails when bulding on linux. Add following section to package.json to fix | ||
this issue. | ||
|
||
```json | ||
"optionalDependencies": { | ||
"@rollup/rollup-linux-x64-gnu": "^4.20.0" | ||
} | ||
``` | ||
## Nuxt: v3.7.4 👉 v3.10.3 | ||
|
||
Below you can find a migration checklist; | ||
|