Pass Nonce to Livewire Setup Script
To pass nonce, or any other attribute, to @livewireSetupScript
, simply call directive with map of values:
@livewireSetupScript([ 'nonce' => NONCE ])
To pass nonce, or any other attribute, to @livewireSetupScript
, simply call directive with map of values:
@livewireSetupScript([ 'nonce' => NONCE ])