You can install the package using composer
$ composer require tequilarapido/javascript-bladeAdd to application providers :
Tequilarapido\JavascriptBlade\JavascriptBladeProvider::class
@javascript('i18n', $translations)
// Produces
<script>
window.App || window.App = {}; App.i18n = '<json encoded translations>';
</script>
Please see CHANGELOG for more information what has changed recently.
$ composer testIf you discover any security related issues, please email :author_email instead of using the issue tracker.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.