Skip to content

Commit 2286d88

Browse files
committed
improve flow
1 parent 40984f8 commit 2286d88

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

UPGRADE.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,7 @@ Vite only supports ES modules, so if you are upgrading an existing application y
107107

108108
#### Inertia
109109

110-
Ensure you have updated to at least version `0.6.3` of the `inertia-laravel` package:
111-
112-
```sh
113-
composer require inertiajs/inertia-laravel:^0.6.3
114-
```
115-
116-
Additionally, Inertia makes use of a `require()` call that is more complex to replicate with Vite.
110+
Inertia makes use of a `require()` call that is more complex to replicate with Vite.
117111

118112
The following function can be used instead:
119113

@@ -133,6 +127,12 @@ The following function can be used instead:
133127
});
134128
```
135129

130+
Additionally, you should ensure you have updated to at least version `0.6.3` of the `inertia-laravel` package:
131+
132+
```sh
133+
composer require inertiajs/inertia-laravel:^0.6.3
134+
```
135+
136136
### Update environment variables
137137

138138
You will need to update the environment variables that are explicitly exposed in your `.env` files and in hosting environments such as Forge to use the `VITE_` prefix instead of `MIX_`:

0 commit comments

Comments
 (0)