Skip to content

Commit

Permalink
Update Vapor helper version
Browse files Browse the repository at this point in the history
  • Loading branch information
timacdonald authored Aug 19, 2022
1 parent 6a933df commit 4a50039
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,14 @@ composer require laravel/vapor-cli:^1.40.0

Next, if you are using the Vapor asset helper in your application, you only need to utilize the asset helper when you are referencing assets you don't want bundled, such as those that already live in your public directory.

If you want to use the asset helper with your Vite project, you will also need to specify the base URL for assets in your application's entry point, for example in your `resources/js/app.js,` like so:
If you want to use the asset helper with your Vite project, you will also need to ensure you have updated to the latest version:


```sh
npm install laravel-vapor@^0.6.0
```

Then you will need to specify the base URL for assets in your application's entry point, for example in your `resources/js/app.js,` like so:

```diff
- window.Vapor = require('laravel-vapor');
Expand Down

0 comments on commit 4a50039

Please sign in to comment.