Skip to content

Commit

Permalink
Merge pull request #51 from laravel/github-markdown-notes
Browse files Browse the repository at this point in the history
Use GitHub Markdown notes
  • Loading branch information
jessarcher authored Jul 1, 2022
2 parents d4040a6 + a06e132 commit f8aa32b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Migrating from Laravel Mix to Vite

> **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.
> **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.
### Install Vite and the Laravel Plugin

Expand Down Expand Up @@ -130,7 +130,7 @@ You will need to update the environment variables that are explicitly exposed in
+ VITE_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
```

> **Note:** You may optionally maintain the `MIX_` prefix by [configuring Vite](https://vitejs.dev/config/#envprefix) to use it.
> **Note** You may optionally maintain the `MIX_` prefix by [configuring Vite](https://vitejs.dev/config/#envprefix) to use it.
You will also need to update these references in your JavaScript code to use the new variable name and Vite syntax:

Expand Down Expand Up @@ -183,7 +183,7 @@ You will need to rename any `.js` files containing JSX to instead have a `.jsx`

See [this tweet](https://twitter.com/youyuxi/status/1362050255009816577) from Vite's creator for more information.

> **Note:** If you are using Tailwind, remember to update the paths in your `tailwind.config.js` file.
> **Note** If you are using Tailwind, remember to update the paths in your `tailwind.config.js` file.
### Vue imports must include the `.vue` extension

Expand Down

0 comments on commit f8aa32b

Please sign in to comment.