Level 2
Any luck looking for solution on this mate?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I've implemented the laravel vapor npm package:
npm i laravel-vapor
Imported it in my app.js
import Vapor from 'laravel-vapor';
window.Vapor = Vapor;
Using Vite 5 in develop mode, everything works just fine. Files are being stored at S3. When running npm run build (production mode), I run into an issue while trying to upload files:
Upload failed TypeError: Vp.default.post is not a function
Can somebody please give me a push in the right direction?
Please or to participate in this conversation.