mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange.git
synced 2026-08-19 04:14:04 +00:00
fix production frontend issue
This commit is contained in:
@@ -41,15 +41,13 @@ $polyfills = [
|
||||
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features={{ implode(',', $polyfills) }}"></script>
|
||||
|
||||
{{-- Load the application scripts --}}
|
||||
{{ env('APP_ENV') }}
|
||||
{{ env('APP_ENV') != 'production' || env('APP_ENV') != 'staging' }}
|
||||
@if (env('APP_ENV') != 'production' || env('APP_ENV') != 'staging')
|
||||
<script src="{{ mix('js/app.js') }}"></script>
|
||||
@else
|
||||
@if (env('APP_ENV') == 'production' || env('APP_ENV') == 'staging')
|
||||
<script src="{{ mix('js/manifest.js') }}"></script>
|
||||
<script src="{{ mix('js/vendor.js') }}"></script>
|
||||
<script src="{{ mix('js/app.js') }}"></script>
|
||||
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
|
||||
<script src="https://unpkg.com/element-ui/lib/index.js"></script>
|
||||
@else
|
||||
<script src="{{ mix('js/app.js') }}"></script>
|
||||
@endif
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user