Livewire and unsafe-eval #91
Unanswered
incoming-th
asked this question in
Q&A
Replies: 4 comments 1 reply
|
Hello, Did you find a solution ? Regards |
0 replies
|
Hey, No solution at all and issue on git above still open. Due to the nature of Livewire and Alpine, I don't even think it's possible to fix it. Again, this is not a problem with this repo, but should be a known conflict maybe. |
0 replies
|
Yes it's a problem of Livewire and Alpine JS. DO you known if there is an alternative to livewire/AlpineJS and Jetstream compatible with CSP and out problem ? |
0 replies
|
Unless refactor the whole UI with Vue (or worse react) I did not find any alternative, but if I do I will post here and in the open issue on Livewire. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
Livewire requires unsafe-eval to be set to true, which is something that will never happen due to security concerns.
Using the nonce is working when the page is loaded
But then throws an error from Alpine:
I understand this is not an issue related to bepsvpt/secure-headers and already added my comment here livewire/livewire#6113 , but just in case if anyone ran into this problem and found a workaround.
All reactions