Prevent warning

This commit is contained in:
Pig Fang 2019-09-08 11:43:03 +08:00
parent bc0e830758
commit b7d845ee51

View File

@ -1,6 +1,8 @@
@inject('intl', 'App\Services\Translations\JavaScript')
<script src="{{ $intl->generate(app()->getLocale()) }}"></script>
<script src="{{ $intl->plugin(app()->getLocale()) }}"></script>
@if ($pluginI18n = $intl->plugin(app()->getLocale()))
<script src="{{ $pluginI18n }}"></script>
@endif
<script src="{{ webpack_assets('index.js') }}"></script>
<script>{!! option('custom_js') !!}</script>
{{-- Content added by plugins dynamically --}}