IntellijAlpine
IntellijAlpine copied to clipboard
AlpineJS syntax error when using blade directive as parameter of function
When using blade directives @js, @json or any other, as parameter of a function inside AlpineJS directives, PHPStorm shows an syntax error.
This exist for a long time.
just try x-init="dataLayerStartCheckout( {param: @js($data} )"
I know it's not perfect, but it works