You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: UPGRADE.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
## Migrating from Laravel Mix to Vite
4
4
5
-
> **Note:** This upgrade guide does not cover all possible Mix use cases, such as Sass compilation. Please consult the [Vite documentation](https://vitejs.dev/guide/) for information on configuring Vite for these scenarios.
5
+
> **Note** This upgrade guide does not cover all possible Mix use cases, such as Sass compilation. Please consult the [Vite documentation](https://vitejs.dev/guide/) for information on configuring Vite for these scenarios.
6
6
7
7
### Install Vite and the Laravel Plugin
8
8
@@ -130,7 +130,7 @@ You will need to update the environment variables that are explicitly exposed in
130
130
+ VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
131
131
```
132
132
133
-
> **Note:** You may optionally maintain the `MIX_` prefix by [configuring Vite](https://vitejs.dev/config/#envprefix) to use it.
133
+
> **Note** You may optionally maintain the `MIX_` prefix by [configuring Vite](https://vitejs.dev/config/#envprefix) to use it.
134
134
135
135
You will also need to update these references in your JavaScript code to use the new variable name and Vite syntax:
136
136
@@ -183,7 +183,7 @@ You will need to rename any `.js` files containing JSX to instead have a `.jsx`
183
183
184
184
See [this tweet](https://twitter.com/youyuxi/status/1362050255009816577) from Vite's creator for more information.
185
185
186
-
> **Note:** If you are using Tailwind, remember to update the paths in your `tailwind.config.js` file.
186
+
> **Note** If you are using Tailwind, remember to update the paths in your `tailwind.config.js` file.
0 commit comments