How to use php array in json in laravel blade with @json. using Core PHP <script> var app = <?php echo json_encode($listOfProductsArr); ?>; </script>.
確定! 回上一頁