Same problem.
Vapor UI package does not provide publishing of views nor ability to pass nonce. :(
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I'm using Laravel Vapor UI to track and retry failed jobs, but also needed to implement Spatie's Laravel CSP (https://github.com/spatie/laravel-csp). However, when doing this, and setting up the CSP to block inline scripts, vapor UI fails to load. We've also tried to setup the nonce, but it doesn't seem to get taken as part of the vapor ui package.
Is there any way around this?
Please or to participate in this conversation.