Skip to content

Commit

Permalink
minor edits to migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
dncsvr committed Aug 9, 2024
1 parent 612229b commit 7a73fae
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 7a73fae

Please sign in to comment.