ldc-boutique-cnc/resources/views/modules/scriptConstants.blade.php
Jérémy Munsch c944141342
SYNC 25
Theme Hudge files and foder reorder
2023-01-30 17:46:30 +01:00

8 lines
314 B
PHP

<script nonce="{{ $nonce }}">
if (!window.__SYSTEM) {
window.__SYSTEM = {};
}
window.__SYSTEM._locale = '{{ app()->getLocale() }}';
window.__SYSTEM._translations = @json(cache(sprintf('translations.%s', app()->getLocale())) ?? []);
window.__SYSTEM._asset = '{{ asset('') }}';
</script>