Skip to content

Commit 212faab

Browse files
authored
Merge pull request #123 from laravel/vapor-update
Update Vapor helper version
2 parents 6a933df + 41ac15f commit 212faab

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

UPGRADE.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,14 @@ composer require laravel/vapor-cli:^1.40.0
246246

247247
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.
248248

249-
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:
249+
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:
250+
251+
252+
```sh
253+
npm install laravel-vapor@latest
254+
```
255+
256+
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:
250257

251258
```diff
252259
- window.Vapor = require('laravel-vapor');

0 commit comments

Comments
 (0)