Closed danrichards closed 6 years ago
The expression should be resolved to a string. Then you may determine if and where it should be pushed.
For instance, you may benefit from having a variable in your expression. Which doesn't work with the current implementation.
@pushonce("scripts:modal-product-{$product->getKey()}"
...
@endpushonce
Going to do more testing and put this back up later.
Please provide some details and examples